Borderou de evaluare (job #2803761)

Utilizator schizofrenieShallan Davar schizofrenie Data 20 noiembrie 2021 13:46:10
Problema Datorii Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 100

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
174ms614kbCorect!20
2124ms589kbCorect!20
375ms602kbCorect!20
479ms614kbCorect!20
5119ms565kbCorect!20
Punctaj total100

Ceva nu functioneaza?