Pagini recente » Borderou de evaluare (job #1043649) | Borderou de evaluare (job #1056240) | Borderou de evaluare (job #2402570) | Borderou de evaluare (job #1059054) | Borderou de evaluare (job #1371194)
Borderou de evaluare (job #1371194)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57: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:57:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:62:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(infile, "%d", &nr);
^
user.cpp:88:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(outfile, "%d ", (*it).val);
^
user.cpp:57: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:62: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 | 288kb | OK | 10 |
| 2 | 12ms | 408kb | OK | 10 |
| 3 | 40ms | 668kb | OK | 10 |
| 4 | 196ms | 1952kb | OK | 10 |
| 5 | 488ms | 4248kb | OK | 10 |
| 6 | 676ms | 5560kb | OK | 10 |
| 7 | 864ms | 6964kb | OK | 10 |
| 8 | Depăşit | 8796kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 8972kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 9136kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |