Pagini recente » Cod sursa (job #354564) | Borderou de evaluare (job #1680568) | Cod sursa (job #2016229) | Cod sursa (job #924955) | Borderou de evaluare (job #1563180)
Borderou de evaluare (job #1563180)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interclasare.in", "rb", stdin);
^
user.cpp:56:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interclasare.out", "wb", stdout);
^
user.cpp:60:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:62:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A[i]);
^
user.cpp:65:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &M);
^
user.cpp:67:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &B[i]);
^
user.cpp: In function ‘int scm(int*, int*, int*, int)’:
user.cpp:45:7: warning: ‘maxPos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (i == maxPos) {
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 312kb | OK! | 10 |
| 2 | 0ms | 344kb | OK! | 10 |
| 3 | 4ms | 376kb | OK! | 10 |
| 4 | 4ms | 404kb | OK! | 10 |
| 5 | 4ms | 428kb | OK! | 10 |
| 6 | 8ms | 464kb | OK! | 10 |
| 7 | 8ms | 492kb | OK! | 10 |
| 8 | 8ms | 516kb | OK! | 10 |
| 9 | 8ms | 548kb | OK! | 10 |
| 10 | 12ms | 548kb | OK! | 10 |
| Punctaj total | 100 |