Pagini recente » Borderou de evaluare (job #2874814) | Borderou de evaluare (job #2332617) | Borderou de evaluare (job #1349331) | Borderou de evaluare (job #2125902) | Borderou de evaluare (job #1504204)
Borderou de evaluare (job #1504204)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp: In function ‘void solve()’:
user.cpp:78:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:82:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &sw);
^
user.cpp:86:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:94:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:100:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp: In function ‘int main()’:
user.cpp:111:37: 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:112: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: In function ‘int bin_2(int)’:
user.cpp:69:13: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return pos;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 280kb | OK | 10 | 10 |
2 | 0ms | 280kb | OK | 10 | 10 |
3 | 0ms | 284kb | OK | 10 | 10 |
4 | 4ms | 292kb | OK | 10 | 10 |
5 | 32ms | 320kb | OK | 10 | 20 |
6 | 112ms | 484kb | OK | 10 |
7 | 164ms | 672kb | OK | 10 | 40 |
8 | 168ms | 672kb | OK | 10 |
9 | 176ms | 676kb | OK | 10 |
10 | 176ms | 672kb | OK | 10 |
Punctaj total | 100 |