Borderou de evaluare (job #2643084)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 18 august 2020 17:10:37
Problema Balbaiala Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool valid(int)': main.cpp:38:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(poz == -1 || poz + k - 1 >= G[lin].size()) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:72:22: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100005]' [-Wformat=] scanf("%s\n" , &s); ^ main.cpp:77:26: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100005]' [-Wformat=] scanf("%s\n" , &q); ^ main.cpp:68:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("balbaiala.in" , "r" , stdin); ^ main.cpp:69:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("balbaiala.out" , "w" , stdout); ^ main.cpp:71:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n" , &n , &Q); ^ main.cpp:72:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n" , &s); ^ main.cpp:77:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n" , &q); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1020
22ms131kbOK10
320ms131kbOK1020
423ms131kbOK10
5267ms393kbOK1030
6435ms524kbOK10
7538ms585kbOK10
8659ms929kbOK1030
9344ms929kbOK10
10620ms1376kbOK10
Punctaj total100

Ceva nu functioneaza?