Borderou de evaluare (job #2647489)

Utilizator andrei_marciucMarciuc Andrei andrei_marciuc Data 4 septembrie 2020 22:13:08
Problema Inundatie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:36:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf( fout, "%d\n", sum[ n ] ); ^ main.cpp:48:75: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf( fout, "%d\n", ( poz - sol ) * ( x - 1 ) + sum[ sol ] ); ^ main.cpp:11:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d", &n, &m ); ^ main.cpp:14:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &x ); ^ main.cpp:31:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &q ); ^ main.cpp:34:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &x ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
28ms131kbIncorect0
388ms393kbIncorect0
4345ms524kbOK10
5400ms393kbTime limit exceeded0
6402ms344kbTime limit exceeded0
7403ms393kbTime limit exceeded0
8400ms524kbTime limit exceeded0
9400ms524kbTime limit exceeded0
102ms131kbIncorect0
Punctaj total20

Ceva nu functioneaza?