Pagini recente » Borderou de evaluare (job #1085800) | Borderou de evaluare (job #415386) | Borderou de evaluare (job #1390285) | Borderou de evaluare (job #2139575) | Borderou de evaluare (job #1517942)
Borderou de evaluare (job #1517942)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:12:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:9:34: 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:10:36: 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:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 12ms | 456kb | OK | 10 |
6 | 28ms | 648kb | OK | 10 |
7 | 52ms | 1048kb | OK | 10 |
8 | 116ms | 2216kb | OK | 10 |
9 | 240ms | 4164kb | OK | 10 |
10 | 252ms | 4164kb | OK | 10 |
Punctaj total | 100 |