Borderou de evaluare (job #2522687)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 12 ianuarie 2020 20:51:07
Problema Incurcatura Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:63:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < G[i].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp:77:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < v.size() ; i ++) ~~^~~~~~~~~~ main.cpp:85:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(f[i] == v.size()) ~~~~~^~~~~~~~~~~ main.cpp:104:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < v.size() ; i ++) ~~^~~~~~~~~~ main.cpp:111:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i != tnod && f1[i] == v.size() - ap) ~~~~~~^~~~~~~~~~~~~~~~ main.cpp:126:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < v.size() ; i ++) ~~^~~~~~~~~~ main.cpp:133:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i != tnod && f1[i] == v.size() - ap) ~~~~~~^~~~~~~~~~~~~~~~ main.cpp:47:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("incurcatura.in" , "r" , stdin); ^ main.cpp:48:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("incurcatura.out" , "w" , stdout); ^ main.cpp:50:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d" , &p , &n); ^ main.cpp:53:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &m); ^ main.cpp:56:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &tnod); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms2490kbOK10
212ms2621kbOK10
3137ms5373kbOK10
4214ms7077kbOK10
56ms2490kbOK10
672ms4345kbOK10
758ms4063kbOK10
8235ms8253kbOK10
9261ms8908kbOK10
10288ms9428kbOK10
Punctaj total100

Ceva nu functioneaza?