Pagini recente » Borderou de evaluare (job #1630789) | Borderou de evaluare (job #504755) | Borderou de evaluare (job #2334297) | Borderou de evaluare (job #3010038) | Borderou de evaluare (job #1417771)
Borderou de evaluare (job #1417771)
Raport evaluator
Compilare:
user.cpp: In function ‘void readdata()’:
user.cpp:9:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&p);
^
user.cpp:9:23: warning: format ‘%d’ expects a matching ‘int*’ argument [-Wformat=]
user.cpp: In function ‘int solve()’:
user.cpp:17:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",n);
^
user.cpp: In function ‘void writedata()’:
user.cpp:65:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(f,"%d",n);
^
user.cpp: In function ‘void readdata()’:
user.cpp:9:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | Raspuns incorect | 0 |
| 2 | 0ms | 256kb | Corect! | 5 |
| 3 | 0ms | 264kb | Corect! | 5 |
| 4 | 0ms | 256kb | Corect! | 5 |
| 5 | Depăşit | 252kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 256kb | Time limit exceeded. | 0 |
| 7 | 0ms | 260kb | Corect! | 5 |
| 8 | 0ms | 260kb | Corect! | 5 |
| 9 | 0ms | 260kb | Corect! | 5 |
| 10 | 0ms | 264kb | Corect! | 5 |
| 11 | 0ms | 256kb | Corect! | 5 |
| 12 | 0ms | 264kb | Corect! | 5 |
| 13 | 0ms | 256kb | Corect! | 5 |
| 14 | 0ms | 264kb | Corect! | 5 |
| 15 | 0ms | 260kb | Corect! | 5 |
| 16 | 0ms | 260kb | Corect! | 5 |
| 17 | 0ms | 264kb | Corect! | 5 |
| 18 | 0ms | 264kb | Corect! | 5 |
| 19 | 0ms | 260kb | Corect! | 5 |
| 20 | 0ms | 260kb | Corect! | 5 |
| Punctaj total | 85 |