Pagini recente » Borderou de evaluare (job #1287984) | Borderou de evaluare (job #2048610) | Borderou de evaluare (job #2777981) | Borderou de evaluare (job #201813) | Borderou de evaluare (job #2007258)
Borderou de evaluare (job #2007258)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:13: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,j,k;
^
user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.in","r",stdin);
^
user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.out","w",stdout);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:24: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 | 280kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 0ms | 356kb | OK | 10 |
6 | 28ms | 1060kb | OK | 10 |
7 | 12ms | 672kb | OK | 10 |
8 | 164ms | 4188kb | OK | 10 |
9 | 344ms | 8084kb | OK | 10 |
10 | 336ms | 8080kb | OK | 10 |
Punctaj total | 100 |