Pagini recente » Borderou de evaluare (job #641265) | Borderou de evaluare (job #2146057)
Borderou de evaluare (job #2146057)
Raport evaluator
Compilare:
user.cpp: In function ‘int tip01(int, int, int)’:
user.cpp:10:14: warning: left operand of comma operator has no effect [-Wunused-value]
for(l, i=0;l;l>>=1)
^
user.cpp: In function ‘int tip2(int, int, int)’:
user.cpp:21:14: warning: left operand of comma operator has no effect [-Wunused-value]
for(l, i=n;l;l>>=1)
^
user.cpp: In function ‘int main()’:
user.cpp:34:11: warning: statement has no effect [-Wunused-value]
for(lg; lg<=n; lg<<=1);
^
user.cpp:28:38: 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:29:40: 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:30:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:32:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i]);
^
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:39:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &tip, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 816kb | OK | 10 | 10 |
2 | 0ms | 820kb | OK | 10 | 10 |
3 | 0ms | 820kb | OK | 10 | 10 |
4 | 4ms | 820kb | OK | 10 | 10 |
5 | 24ms | 860kb | OK | 10 | 20 |
6 | 84ms | 1012kb | OK | 10 |
7 | 128ms | 1204kb | OK | 10 | 40 |
8 | 132ms | 1208kb | OK | 10 |
9 | 136ms | 1208kb | OK | 10 |
10 | 140ms | 1208kb | OK | 10 |
Punctaj total | 100 |