Pagini recente » Borderou de evaluare (job #579728) | Borderou de evaluare (job #1060117) | Borderou de evaluare (job #1898866) | Borderou de evaluare (job #2742927) | Borderou de evaluare (job #1366624)
Borderou de evaluare (job #1366624)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:12: warning: unused variable ‘x’ [-Wunused-variable]
int i, x;
^
user.cpp:23:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inputFile.c_str(), "r", stdin);
^
user.cpp:24:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outputFile.c_str(), "w", stdout);
^
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 312kb | OK | 10 |
5 | 12ms | 472kb | OK | 10 |
6 | 28ms | 668kb | OK | 10 |
7 | 56ms | 1056kb | OK | 10 |
8 | 136ms | 2232kb | OK | 10 |
9 | 272ms | 4180kb | OK | 10 |
10 | 288ms | 4180kb | OK | 10 |
Punctaj total | 100 |