Pagini recente » Borderou de evaluare (job #1409002) | Borderou de evaluare (job #1371904) | Borderou de evaluare (job #1170395) | Borderou de evaluare (job #1912383) | Borderou de evaluare (job #1584898)
Borderou de evaluare (job #1584898)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:15: warning: unused variable ‘j’ [-Wunused-variable]
int m, i, j, k, x;
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in","r",stdin);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out","w",stdout);
^
user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= n; ++i ) scanf("%d",&v[i]);
^
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&k,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 0ms | 268kb | OK | 10 | 10 |
4 | 4ms | 272kb | OK | 10 | 10 |
5 | 24ms | 308kb | OK | 10 | 20 |
6 | 80ms | 460kb | OK | 10 |
7 | 116ms | 652kb | OK | 10 | 40 |
8 | 120ms | 652kb | OK | 10 |
9 | 128ms | 652kb | OK | 10 |
10 | 128ms | 652kb | OK | 10 |
Punctaj total | 100 |