Pagini recente » Borderou de evaluare (job #1350318) | Borderou de evaluare (job #2944034) | Borderou de evaluare (job #909815) | Borderou de evaluare (job #2987069) | Borderou de evaluare (job #1517941)
Borderou de evaluare (job #1517941)
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 | 256kb | OK | 10 |
2 | 0ms | 252kb | Incorect | 0 |
3 | 0ms | 256kb | Incorect | 0 |
4 | 0ms | 296kb | Incorect | 0 |
5 | 12ms | 448kb | Incorect | 0 |
6 | 28ms | 656kb | OK | 10 |
7 | 52ms | 1036kb | Incorect | 0 |
8 | 128ms | 2204kb | Incorect | 0 |
9 | 244ms | 4164kb | OK | 10 |
10 | 280ms | 4164kb | OK | 10 |
Punctaj total | 40 |