Borderou de evaluare (job #583632)

Utilizator avatar Yusyboss Fares Yusuf Yusyboss IP ascuns
Problemă Decod (baraj gimnaziu) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 28 feb. 2021 01:21:05 Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:17: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[10]' [-Wformat=] 30 | fscanf(fin, "%s", &v1); | ~^ ~~~ | | | | | char (*)[10] | char* main.cpp:31:17: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[800001]' [-Wformat=] 31 | fscanf(fin, "%s", &v2); | ~^ ~~~ | | | | | char (*)[800001] | char* main.cpp:29:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 29 | fscanf(fin, "%d%d", &k, &p); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:30:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 30 | fscanf(fin, "%s", &v1); | ~~~~~~^~~~~~~~~~~~~~~~ main.cpp:31:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 31 | fscanf(fin, "%s", &v2); | ~~~~~~^~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 155 ms 262 kb Time limit exceeded 0
3 154 ms 262 kb Time limit exceeded 0
4 1 ms 262 kb OK 10
5 151 ms 262 kb Time limit exceeded 0
6 1 ms 262 kb OK 10
7 1 ms 262 kb OK 10
8 1 ms 262 kb OK 10
9 1 ms 262 kb OK 10
10 156 ms 262 kb Time limit exceeded 0
Punctaj total 60