Pagini recente »
Borderou de evaluare (job #742484)
|
Borderou de evaluare (job #742567)
|
Borderou de evaluare (job #760755)
|
Borderou de evaluare (job #551239)
|
Borderou de evaluare (job #732294)
Borderou de evaluare (job #732294)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:7:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | freopen("ruleta1.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:8:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | freopen("ruleta1.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:9:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
main.cpp:11:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%d", &v[i]);
| ~~~~~^~~~~~~~~~~~~
main.cpp:33:14: warning: 'not0' may be used uninitialized [-Wmaybe-uninitialized]
33 | not0 += (v[i] > 0);
| ~~~~~^~~~~~~~~~~~~
main.cpp:6:42: note: 'not0' was declared here
6 | int i, ind, n, r = 0, isChanged = 0, not0;
| ^~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
Numar elemente nenule incorect!
|
7
|
|
2
|
2009 ms
|
512 kb
|
Time limit exceeded
|
0
|
|
3
|
289 ms
|
270 kb
|
Numar elemente nenule incorect!
|
7
|
|
4
|
2008 ms
|
249 kb
|
Time limit exceeded
|
0
|
|
5
|
2009 ms
|
249 kb
|
Time limit exceeded
|
0
|
|
6
|
2009 ms
|
249 kb
|
Time limit exceeded
|
0
|
|
7
|
2008 ms
|
249 kb
|
Time limit exceeded
|
0
|
|
8
|
2009 ms
|
249 kb
|
Time limit exceeded
|
0
|
|
9
|
2009 ms
|
249 kb
|
Time limit exceeded
|
0
|
|
10
|
1 ms
|
520 kb
|
Numar elemente nenule incorect!
|
7
|
|
Punctaj total
|
21
|