Pagini recente » Borderou de evaluare (job #1536223) | Borderou de evaluare (job #578800) | Borderou de evaluare (job #1013733) | Borderou de evaluare (job #196223) | Borderou de evaluare (job #1483890)
Borderou de evaluare (job #1483890)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:98: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expectedpos.in","r",stdin),freopen("expectedpos.out","w",stdout),scanf("%d%d",&n,&l);
^
user.cpp:6:98: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:6:98: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:8:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:10:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a),c[++o]=a;
^
user.cpp:12:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
sort(c+1,c+n+1),scanf("%d",&m);
^
user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 92ms | 264kb | OK | 10 |
4 | 104ms | 268kb | OK | 10 |
5 | 92ms | 284kb | OK | 10 |
6 | 104ms | 292kb | OK | 10 |
7 | 116ms | 300kb | OK | 10 |
8 | 152ms | 604kb | OK | 10 |
9 | 156ms | 644kb | OK | 10 |
10 | 160ms | 648kb | OK | 10 |
Punctaj total | 100 |