Pagini recente »
Borderou de evaluare (job #736647)
Borderou de evaluare (job #736647)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:78:9: warning: unused variable 'n' [-Wunused-variable]
78 | int n, c;
| ^
main.cpp:79:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
79 | freopen("controlnode.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:80:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
80 | freopen("controlnode.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:81:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
81 | scanf("%d\n", &c);
| ~~~~~^~~~~~~~~~~~
main.cpp:82:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
82 | scanf("%s", s);
| ~~~~~^~~~~~~~~
main.cpp:100:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
100 | scanf("%s", s);
| ~~~~~^~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
3 ms
|
118 kb
|
OK
|
5
|
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
|
4
|
1 ms
|
249 kb
|
OK
|
5
|
|
5
|
9 ms
|
507 kb
|
OK
|
5
|
|
6
|
3 ms
|
380 kb
|
OK
|
5
|
|
7
|
1 ms
|
245 kb
|
OK
|
5
|
|
8
|
1 ms
|
245 kb
|
OK
|
5
|
|
9
|
49 ms
|
323 kb
|
OK
|
5
|
|
10
|
89 ms
|
417 kb
|
OK
|
5
|
|
11
|
99 ms
|
1552 kb
|
OK
|
5
|
|
12
|
119 ms
|
1818 kb
|
OK
|
5
|
|
13
|
119 ms
|
1822 kb
|
OK
|
5
|
|
14
|
49 ms
|
1036 kb
|
OK
|
5
|
|
15
|
89 ms
|
1552 kb
|
OK
|
5
|
|
16
|
956 ms
|
1560 kb
|
OK
|
5
|
|
17
|
1067 ms
|
1994 kb
|
OK
|
5
|
|
18
|
1085 ms
|
1777 kb
|
OK
|
5
|
|
19
|
479 ms
|
1011 kb
|
OK
|
5
|
|
20
|
818 ms
|
1388 kb
|
OK
|
5
|
|
Punctaj total
|
100
|