Borderou de evaluare (job #2643079)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 18 august 2020 16:59:36
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:37: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:75:26: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100005]' [-Wformat=] scanf("%s\n" , &q); ^ main.cpp:66:17: warning: unused variable 'j' [-Wunused-variable] int Q , i , j; ^ main.cpp:64: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:65: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:67: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:70:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c" , &s[i]); ^ main.cpp:75: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
321ms131kbOK1020
424ms131kbOK10
5262ms393kbOK1030
6410ms524kbOK10
7522ms524kbOK10
8703ms929kbTime limit exceeded00
9462ms929kbOK10
10701ms1314kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?