Borderou de evaluare (job #2643082)

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

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:79: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:74:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c" , &s[i]); ^ main.cpp:79: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
424ms131kbOK10
5270ms393kbOK1030
6443ms524kbOK10
7590ms524kbOK10
8661ms798kbOK100
9325ms798kbOK10
10700ms1314kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?