Pagini recente » Borderou de evaluare (job #2791373) | Borderou de evaluare (job #963090) | Borderou de evaluare (job #2078178) | Borderou de evaluare (job #2803678) | Borderou de evaluare (job #2803761)
Borderou de evaluare (job #2803761)
Raport evaluator
Compilare:
main.c:6: warning: "assert" redefined
6 | #define assert 0,
|
In file included from main.c:1:
/usr/include/assert.h:97: note: this is the location of the previous definition
97 | # define assert(expr) \
|
main.c: In function 'main':
main.c:6:17: warning: left-hand operand of comma expression has no effect [-Wunused-value]
6 | #define assert 0,
| ^
main.c:31:2: note: in expansion of macro 'assert'
31 | assert(freopen("datorii.in", "r", stdin));
| ^~~~~~
main.c:6:17: warning: left-hand operand of comma expression has no effect [-Wunused-value]
6 | #define assert 0,
| ^
main.c:32:2: note: in expansion of macro 'assert'
32 | assert(freopen("datorii.out", "w", stdout));
| ^~~~~~
main.c:6:17: warning: left-hand operand of comma expression has no effect [-Wunused-value]
6 | #define assert 0,
| ^
main.c:34:2: note: in expansion of macro 'assert'
34 | assert(scanf("%d %d", &n, &q) == 2);
| ^~~~~~
main.c:6:17: warning: value computed is not used [-Wunused-value]
6 | #define assert 0,
| ^
main.c:34:2: note: in expansion of macro 'assert'
34 | assert(scanf("%d %d", &n, &q) == 2);
| ^~~~~~
main.c:6:17: warning: left-hand operand of comma expression has no effect [-Wunused-value]
6 | #define assert 0,
| ^
main.c:38:3: note: in expansion of macro 'assert'
38 | assert(scanf(" %d", &a) == 1);
| ^~~~~~
main.c:6:17: warning: value computed is not used [-Wunused-value]
6 | #define assert 0,
| ^
main.c:38:3: note: in expansion of macro 'assert'
38 | assert(scanf(" %d", &a) == 1);
| ^~~~~~
main.c:6:17: warning: left-hand operand of comma expression has no effect [-Wunused-value]
6 | #define assert 0,
| ^
main.c:46:3: note: in expansion of macro 'assert'
46 | assert(scanf(" %d %d %d", &tip, &a, &b) == 3);
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 74ms | 614kb | Corect! | 20 |
2 | 124ms | 589kb | Corect! | 20 |
3 | 75ms | 602kb | Corect! | 20 |
4 | 79ms | 614kb | Corect! | 20 |
5 | 119ms | 565kb | Corect! | 20 |
Punctaj total | 100 |