Pagini recente » Borderou de evaluare (job #2330546) | Borderou de evaluare (job #2431245) | Borderou de evaluare (job #1927832) | Borderou de evaluare (job #176852) | Borderou de evaluare (job #1312080)
Borderou de evaluare (job #1312080)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:9: warning: unused variable ‘poz’ [-Wunused-variable]
int poz;
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in", "r", stdin);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out", "w", stdout);
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cur);
^
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in", "r", stdin);
^
user.cpp:35:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cur);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 452kb | OK | 10 |
4 | 4ms | 456kb | OK | 10 |
5 | 24ms | 452kb | OK | 10 |
6 | 52ms | 452kb | OK | 10 |
7 | 104ms | 452kb | OK | 10 |
8 | 244ms | 448kb | OK | 10 |
9 | Depăşit | 416kb | Time limit exceeded. | 0 |
10 | Depăşit | 420kb | Time limit exceeded. | 0 |
Punctaj total | 80 |