Pagini recente » Borderou de evaluare (job #986937) | Borderou de evaluare (job #604841) | Borderou de evaluare (job #1918616) | Borderou de evaluare (job #1572315) | Borderou de evaluare (job #1371175)
Borderou de evaluare (job #1371175)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(infile, "%d %d", &r, &p);
^
user.cpp:56:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:61:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(infile, "%d", &nr);
^
user.cpp:87:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(outfile, "%d ", (*it).val);
^
user.cpp:56:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(infile, "%d %d", &r, &p);
^
user.cpp:61:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(infile, "%d", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 16ms | 412kb | OK | 10 |
3 | 48ms | 668kb | OK | 10 |
4 | 252ms | 1944kb | OK | 10 |
5 | 692ms | 4252kb | OK | 10 |
6 | 852ms | 5552kb | OK | 10 |
7 | Depăşit | 6940kb | Time limit exceeded. | 0 |
8 | Depăşit | 8772kb | Time limit exceeded. | 0 |
9 | Depăşit | 8956kb | Time limit exceeded. | 0 |
10 | Depăşit | 9124kb | Time limit exceeded. | 0 |
Punctaj total | 60 |