Borderou de evaluare (job #2647489)
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 |
1 | 2ms | 131kb | OK | 10 |
2 | 8ms | 131kb | Incorect | 0 |
3 | 88ms | 393kb | Incorect | 0 |
4 | 345ms | 524kb | OK | 10 |
5 | 400ms | 393kb | Time limit exceeded | 0 |
6 | 402ms | 344kb | Time limit exceeded | 0 |
7 | 403ms | 393kb | Time limit exceeded | 0 |
8 | 400ms | 524kb | Time limit exceeded | 0 |
9 | 400ms | 524kb | Time limit exceeded | 0 |
10 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 20 |