Pagini recente »
Borderou de evaluare (job #296981)
|
Borderou de evaluare (job #244527)
|
Borderou de evaluare (job #567230)
|
Borderou de evaluare (job #593926)
|
Borderou de evaluare (job #752858)
Borderou de evaluare (job #752858)
Raport evaluator
Compilare:
main.c: In function 'unific':
main.c:25:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
25 | for ( i = 0; i < NRCIF; i++ )
| ^~~
main.c:28:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
28 | nr1 = -2;
| ^~~
main.c:29:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
29 | for ( i = 0; i < NRCIF; i++ )
| ^~~
main.c:32:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
32 | if ( nr1 == 0 ) {
| ^~
main.c: In function 'main':
main.c:90:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
90 | fscanf( fin, "%d", &n );
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:93:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
93 | fscanf( fin, "%lld", &x );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function 'unific':
main.c:80:9: warning: 'nr2' may be used uninitialized [-Wmaybe-uninitialized]
80 | ans = nr1 * p + nr2;
| ~~~~^~~~~~~~~~~~~~~
main.c:7:32: note: 'nr2' was declared here
7 | long long ca, cb, nr1, cnr1, nr2, cnr2, p, ans;
| ^~~
main.c:69:11: warning: 'nrcf1' may be used uninitialized [-Wmaybe-uninitialized]
69 | else if ( nrcf1 == 0 )
| ^
main.c:8:7: note: 'nrcf1' was declared here
8 | int nrcf1, nrcf2, i;
| ^~~~~
main.c:71:11: warning: 'nrcf2' may be used uninitialized [-Wmaybe-uninitialized]
71 | else if ( nrcf2 == 0 )
| ^
main.c:8:14: note: 'nrcf2' was declared here
8 | int nrcf1, nrcf2, i;
| ^~~~~
main.c: In function 'main':
main.c:111:8: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
111 | if ( y == -2 )
| ^
main.c:88:20: note: 'y' was declared here
88 | long long x, cx, y;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
2 ms
|
126 kb
|
a) corect b) incorect
|
1
|
3
|
1 ms
|
249 kb
|
OK
|
10
|
4
|
9 ms
|
249 kb
|
a) corect b) incorect
|
1
|
5
|
69 ms
|
245 kb
|
a) corect b) incorect
|
1
|
6
|
408 ms
|
483 kb
|
OK
|
10
|
7
|
99 ms
|
249 kb
|
a) corect b) incorect
|
1
|
8
|
139 ms
|
249 kb
|
a) corect b) incorect
|
1
|
9
|
129 ms
|
249 kb
|
a) corect b) incorect
|
1
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
46
|