Pagini recente » Borderou de evaluare (job #1674492) | Borderou de evaluare (job #2780867) | Borderou de evaluare (job #124431) | Borderou de evaluare (job #806780) | Borderou de evaluare (job #1772846)
Borderou de evaluare (job #1772846)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Trie::insert(std::string&, int, int&)’:
user.cpp:24:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos == s.size()) {
^
user.cpp: In function ‘void BFS(Trie*)’:
user.cpp:42:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (start < Q.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:90:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < strlen(text); i++) {
^
user.cpp:100:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < result.size(); i++)
^
user.cpp:69:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in", "r", stdin);
^
user.cpp:70:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out", "w", stdout);
^
user.cpp:73:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
user.cpp:74:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(text, 100002, stdin);
^
user.cpp:80:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &x);
^
user.cpp:81:33: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(word, 1002, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 556kb | Time limit exceeded. | 0 |
2 | 8ms | 492kb | OK | 10 |
3 | Depăşit | 568kb | Time limit exceeded. | 0 |
4 | Depăşit | 18012kb | Time limit exceeded. | 0 |
5 | Depăşit | 29652kb | Time limit exceeded. | 0 |
6 | Depăşit | 17828kb | Time limit exceeded. | 0 |
7 | Depăşit | 35560kb | Time limit exceeded. | 0 |
8 | Depăşit | 18068kb | Time limit exceeded. | 0 |
9 | Depăşit | 2844kb | Time limit exceeded. | 0 |
10 | 20ms | 1380kb | OK | 10 |
Punctaj total | 20 |