Pagini recente » Borderou de evaluare (job #378047) | Borderou de evaluare (job #1284341) | Borderou de evaluare (job #2801962) | Borderou de evaluare (job #1589091) | Borderou de evaluare (job #2532004)
Borderou de evaluare (job #2532004)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
main.cpp:18:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &x);
^
main.cpp:25:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &s);
^
main.cpp:60:19: warning: 'side' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(c2<0) fprintf(out, "%lld %c\n%lld %c", c1, side, -c2, side2);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:51:7: warning: 'c2' may be used uninitialized in this function [-Wmaybe-uninitialized]
c2+=v[i].first/2;
~~^~~~~~~~~~~~~~
main.cpp:50:7: warning: 'c1' may be used uninitialized in this function [-Wmaybe-uninitialized]
c1+=v[i].first/2;
~~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 37ms | 1302kb | OK | 5 |
2 | 2ms | 131kb | Primul numar corect | 1 |
3 | 48ms | 1302kb | OK | 5 |
4 | 47ms | 1302kb | OK | 5 |
5 | 2ms | 131kb | OK | 5 |
6 | 2ms | 131kb | OK | 5 |
7 | 2ms | 131kb | OK | 5 |
8 | 2ms | 131kb | OK | 5 |
9 | 19ms | 782kb | OK | 5 |
10 | 23ms | 782kb | OK | 5 |
11 | 3ms | 131kb | OK | 5 |
12 | 39ms | 1302kb | OK | 5 |
13 | 39ms | 1302kb | OK | 5 |
14 | 3ms | 131kb | OK | 5 |
15 | 2ms | 131kb | OK | 5 |
16 | 2ms | 131kb | Primul numar corect | 1 |
17 | 47ms | 1302kb | OK | 5 |
18 | 47ms | 1302kb | OK | 5 |
19 | 36ms | 1302kb | OK | 5 |
20 | 2ms | 131kb | OK | 5 |
Punctaj total | 92 |