Submission #1142065

#TimeUsernameProblemLanguageResultExecution timeMemory
1142065younesb13Mutating DNA (IOI21_dna)C++20
Compilation error
0 ms0 KiB
#	include "dna.h"
# include <bits/stdc++.h>
string A,B;
void init(std::string a, std::string b) {
  A,B=a,b;
}

int get_distance(int x, int y) {
	return 0;
}

Compilation message (stderr)

dna.cpp:3:1: error: 'string' does not name a type; did you mean 'stdin'?
    3 | string A,B;
      | ^~~~~~
      | stdin
dna.cpp: In function 'void init(std::string, std::string)':
dna.cpp:5:3: error: 'A' was not declared in this scope
    5 |   A,B=a,b;
      |   ^
dna.cpp:5:5: error: 'B' was not declared in this scope
    5 |   A,B=a,b;
      |     ^