summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2021-06-02 16:54:53 -0500
committerAnthony Wang2021-06-02 16:54:53 -0500
commitbacd0ca40169d5da5db2a561c6b46c9a4d755521 (patch)
tree032aae7b0c2822d0bba2a3108b66c1535c3f1f80
parentdabcc27d647a5b31a9c93411fb9e33ef5e6e60e1 (diff)
Rename spike sequences
-rw-r--r--main.cpp7
-rw-r--r--spikesequences.txt (renamed from spike_sequences.txt)0
2 files changed, 2 insertions, 5 deletions
diff --git a/main.cpp b/main.cpp
index d95107c..b57f7a3 100644
--- a/main.cpp
+++ b/main.cpp
@@ -153,10 +153,7 @@ void answer(){
for(int i = 0; i < 100;i++){
string inp; cin >> inp;
cout << types[solve(inp)] << '\n';
-
}
-
-
}
@@ -169,8 +166,8 @@ int main(){
answer();
return 0;
}
- if (fopen("spike_sequences.txt", "r")) {
- freopen("spike_sequences.txt", "r", stdin);
+ if (fopen("spikesequences.txt", "r")) {
+ freopen("spikesequences.txt", "r", stdin);
for (int i = 0; i < 7; ++i) { // 7 vrts
for (int j = 0; j < 20; ++j) {
string s, t; cin >> s >> t;
diff --git a/spike_sequences.txt b/spikesequences.txt
index f0db8c9..f0db8c9 100644
--- a/spike_sequences.txt
+++ b/spikesequences.txt