Pagini recente » Borderou de evaluare (job #526947) | Borderou de evaluare (job #1268574)
Borderou de evaluare (job #1268574)
Raport evaluator
Compilare:
user.cpp: In function ‘void afisare(int)’:
user.cpp:13:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fout, "%d ", v[a]);
^
user.cpp: In function ‘int main()’:
user.cpp:22:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
for(int i =0; i< n; i++) fscanf(fin, "%d", &v[i]);
^
user.cpp:19:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:22:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i =0; i< n; i++) fscanf(fin, "%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 256kb | Lungime incorecta! | 0 | 0 |
| 2 | 8ms | 352kb | Corect! | 10 | 10 |
| 3 | 0ms | 252kb | Lungime incorecta! | 0 | 0 |
| 4 | 0ms | 256kb | Lungime incorecta! | 0 | 0 |
| 5 | 0ms | 252kb | Lungime incorecta! | 0 | 0 |
| 6 | 8ms | 264kb | Lungime incorecta! | 0 | 0 |
| 7 | 12ms | 264kb | Lungime incorecta! | 0 | 0 |
| 8 | Depăşit | 696kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 796kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 704kb | Time limit exceeded. | 0 |
| Punctaj total | 10 |