Pagini recente »
Borderou de evaluare (job #463710)
|
Borderou de evaluare (job #530213)
|
Clasament 2015-02-17-clasa-8-tema-19
|
Borderou de evaluare (job #391921)
|
Borderou de evaluare (job #315764)
Borderou de evaluare (job #315764)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
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("cladiri2.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:9:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | freopen("cladiri2.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:12:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%d%d%d",&y,&x,&ints);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:27:18: warning: 'imax' may be used uninitialized [-Wmaybe-uninitialized]
27 | for(i=imax; i<10001 && max; i++)
| ~^~~~~~
main.cpp:11:11: note: 'imax' was declared here
11 | int i,imax,max=0;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
OK
|
5
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
4
|
2 ms
|
507 kb
|
OK
|
5
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
7
|
1 ms
|
507 kb
|
OK
|
5
|
8
|
1 ms
|
245 kb
|
OK
|
5
|
9
|
2 ms
|
245 kb
|
a) OK; b) linie incorecta; c) linie incorecta
|
1
|
10
|
1 ms
|
245 kb
|
OK
|
5
|
11
|
1 ms
|
245 kb
|
OK
|
5
|
12
|
1 ms
|
245 kb
|
OK
|
5
|
13
|
1 ms
|
245 kb
|
OK
|
4
|
14
|
39 ms
|
245 kb
|
OK
|
6
|
15
|
1 ms
|
245 kb
|
OK
|
6
|
16
|
1 ms
|
245 kb
|
OK
|
6
|
17
|
9 ms
|
249 kb
|
OK
|
6
|
18
|
59 ms
|
270 kb
|
OK
|
6
|
19
|
107 ms
|
503 kb
|
OK
|
6
|
Punctaj total
|
96
|