Pagini recente »
Borderou de evaluare (job #733441)
Borderou de evaluare (job #733441)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:46:16: warning: unused variable 'cur' [-Wunused-variable]
46 | Ghiseu cur;
| ^~~
main.cpp: In function 'void readInput()':
main.cpp:83:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
83 | fscanf(fin, "%d %d", &n, &m);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:86:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
86 | fscanf(fin, "%d", &v[i]);
| ~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:89:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
89 | fscanf(fin, "%d %d %d", &ghiseu[i].left, &ghiseu[i].right, &ghiseu[i].no);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
5
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
249 kb
|
Incorect
|
0
|
8
|
9 ms
|
249 kb
|
Incorect
|
0
|
9
|
9 ms
|
249 kb
|
Incorect
|
0
|
10
|
19 ms
|
503 kb
|
Incorect
|
0
|
11
|
89 ms
|
1556 kb
|
Incorect
|
0
|
12
|
129 ms
|
2215 kb
|
Incorect
|
0
|
13
|
159 ms
|
2478 kb
|
Incorect
|
0
|
14
|
195 ms
|
2985 kb
|
Incorect
|
0
|
15
|
189 ms
|
3252 kb
|
Incorect
|
0
|
16
|
249 ms
|
4038 kb
|
Incorect
|
0
|
17
|
309 ms
|
4820 kb
|
Incorect
|
0
|
18
|
348 ms
|
5214 kb
|
Incorect
|
0
|
19
|
379 ms
|
5611 kb
|
Incorect
|
0
|
20
|
399 ms
|
5869 kb
|
Incorect
|
0
|
Punctaj total
|
25
|