Pagini recente » Borderou de evaluare (job #2492869) | Borderou de evaluare (job #2525245) | Borderou de evaluare (job #1971210) | Borderou de evaluare (job #2123735) | Borderou de evaluare (job #2532003)
Borderou de evaluare (job #2532003)
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:17: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:24: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:59:19: warning: 'side' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(c2<0) fprintf(out, "%d %c\n%d %c", c1, side, -c2, side2);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:50:7: warning: 'c2' may be used uninitialized in this function [-Wmaybe-uninitialized]
c2+=v[i].first/2;
~~^~~~~~~~~~~~~~
main.cpp:49: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 | 50ms | 1306kb | Raspuns gresit | 0 |
2 | 2ms | 131kb | Primul numar corect | 1 |
3 | 48ms | 1302kb | Raspuns gresit | 0 |
4 | 46ms | 1302kb | Raspuns gresit | 0 |
5 | 2ms | 131kb | OK | 5 |
6 | 2ms | 131kb | OK | 5 |
7 | 2ms | 131kb | OK | 5 |
8 | 2ms | 131kb | OK | 5 |
9 | 16ms | 782kb | OK | 5 |
10 | 24ms | 782kb | OK | 5 |
11 | 3ms | 131kb | OK | 5 |
12 | 50ms | 1302kb | Raspuns gresit | 0 |
13 | 38ms | 1302kb | Raspuns gresit | 0 |
14 | 3ms | 131kb | OK | 5 |
15 | 2ms | 131kb | OK | 5 |
16 | 2ms | 131kb | Primul numar corect | 1 |
17 | 49ms | 1302kb | Raspuns gresit | 0 |
18 | 45ms | 1302kb | Raspuns gresit | 0 |
19 | 35ms | 1302kb | OK | 5 |
20 | 2ms | 131kb | OK | 5 |
Punctaj total | 57 |