Pagini recente » Borderou de evaluare (job #1588486) | Borderou de evaluare (job #1188327) | Borderou de evaluare (job #2366343) | Borderou de evaluare (job #854782) | Borderou de evaluare (job #1771359)
Borderou de evaluare (job #1771359)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:26: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin,"%lld", &n);
^
user.cpp:55:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%d", y);
^
user.cpp:32:17: warning: unused variable ‘nr’ [-Wunused-variable]
long long y,nr,i,p;
^
user.cpp:35:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%lld", &n);
^
user.cpp:37:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d", &v[i].first);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1244kb | Incorect | 0 |
| 2 | 4ms | 1312kb | Incorect | 0 |
| 3 | 12ms | 1428kb | Incorect | 0 |
| 4 | 20ms | 1540kb | Incorect | 0 |
| 5 | 32ms | 1700kb | Incorect | 0 |
| 6 | 40ms | 1776kb | Incorect | 0 |
| 7 | 44ms | 1848kb | Incorect | 0 |
| 8 | 52ms | 1928kb | Incorect | 0 |
| 9 | 60ms | 2004kb | Incorect | 0 |
| 10 | 0ms | 1224kb | OK | 10 |
| Punctaj total | 10 |