Pagini recente » Borderou de evaluare (job #314758) | Borderou de evaluare (job #848720) | Borderou de evaluare (job #1614381) | Borderou de evaluare (job #604620) | Borderou de evaluare (job #1480713)
Borderou de evaluare (job #1480713)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(Trie*, char*)’:
user.cpp:69:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (it->rel >= node->rel) { rel = it->rel; break; }
^
user.cpp: In function ‘void update(Trie*, char*, int)’:
user.cpp:115:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (rel > node->rel || (rel == node->rel && CH < node->best))
^
user.cpp:115:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (rel > node->rel || (rel == node->rel && CH < node->best))
^
user.cpp: In function ‘int main()’:
user.cpp:125:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:131:27: 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:136:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
insert(T, line);
^
user.cpp:139:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 50, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 488ms | 96660kb | Incorect | 0 |
Punctaj total | 0 |