Pagini recente » Borderou de evaluare (job #1421573) | Borderou de evaluare (job #2970712) | Borderou de evaluare (job #2821291) | Borderou de evaluare (job #252070) | Borderou de evaluare (job #2037875)
Borderou de evaluare (job #2037875)
Raport evaluator
Compilare:
user.cpp: In function ‘int calc()’:
user.cpp:29:26: warning: no return statement in function returning non-void [-Wreturn-type]
sort(s2+1,s2+num1+1,cmp);}
^
user.cpp: In function ‘int main()’:
user.cpp:41:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("overdrive.in","r",stdin);
^
user.cpp:42:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("overdrive.out","w",stdout);
^
user.cpp:44:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:46:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 320kb | OK | 10 |
4 | 128ms | 2336kb | OK | 10 |
5 | 136ms | 2332kb | OK | 10 |
6 | 128ms | 2336kb | OK | 10 |
7 | 124ms | 2332kb | OK | 10 |
8 | 116ms | 2332kb | OK | 10 |
9 | 128ms | 2332kb | OK | 10 |
10 | 128ms | 2332kb | OK | 10 |
Punctaj total | 100 |