Pagini recente » Cod sursa (job #412705) | Monitorul de evaluare | Cod sursa (job #2013370) | Monitorul de evaluare | Borderou de evaluare (job #1279021)
Borderou de evaluare (job #1279021)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:34: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin, "%lld", &a[i]);
^
user.cpp:14: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:18:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lld", &a[i]);
^
user.cpp:68:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i = n - 1; s != p2; --i)
^
user.cpp:61:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i = 0; s != p1; ++i) {
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 448kb | Incorect | 0 |
| 2 | 8ms | 448kb | OK | 10 |
| 3 | 8ms | 448kb | Incorect | 0 |
| 4 | 8ms | 452kb | Incorect | 0 |
| 5 | 28ms | 836kb | Incorect | 0 |
| 6 | 32ms | 844kb | OK | 10 |
| 7 | 32ms | 844kb | Incorect | 0 |
| 8 | 244ms | 4352kb | OK | 10 |
| 9 | 228ms | 4352kb | OK | 10 |
| 10 | 248ms | 4348kb | OK | 10 |
| Punctaj total | 50 |