Pagini recente » Borderou de evaluare (job #1961563) | Borderou de evaluare (job #1532627) | Borderou de evaluare (job #1411138) | Borderou de evaluare (job #3149138) | Borderou de evaluare (job #1585984)
Borderou de evaluare (job #1585984)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:15: warning: unused variable ‘j’ [-Wunused-variable]
int m, i, j, k, x;
^
user.cpp:8: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:9: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:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12: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:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:15: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 | 268kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 0ms | 264kb | OK | 10 | 10 |
4 | 4ms | 268kb | OK | 10 | 10 |
5 | 20ms | 308kb | OK | 10 | 20 |
6 | 80ms | 464kb | OK | 10 |
7 | 116ms | 656kb | OK | 10 | 40 |
8 | 124ms | 648kb | OK | 10 |
9 | 124ms | 652kb | OK | 10 |
10 | 124ms | 652kb | OK | 10 |
Punctaj total | 100 |