Pagini recente »
Borderou de evaluare (job #674796)
|
Borderou de evaluare (job #320703)
|
Borderou de evaluare (job #710296)
|
Borderou de evaluare (job #118444)
|
Borderou de evaluare (job #704300)
Borderou de evaluare (job #704300)
Raport evaluator
Compilare:
main.cpp: In function 'int cnt_partid(int, int*)':
main.cpp:22:19: warning: unused variable 'sf' [-Wunused-variable]
22 | int start = 0,sf = 0;
| ^~
main.cpp: In function 'void read_vector(int, int*)':
main.cpp:8:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | scanf("%d", &v[i]);
| ~~~~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:55:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
55 | freopen("politic.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:56:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
56 | freopen("politic.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:59:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
59 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
39 ms
|
249 kb
|
OK
|
10
|
6
|
79 ms
|
249 kb
|
OK
|
10
|
7
|
109 ms
|
249 kb
|
Time limit exceeded
|
0
|
8
|
79 ms
|
249 kb
|
OK
|
10
|
9
|
109 ms
|
249 kb
|
Time limit exceeded
|
0
|
10
|
9 ms
|
249 kb
|
OK
|
10
|
Punctaj total
|
80
|