Borderou de evaluare (job #276806)

Utilizator avatar Druffbaum Popescu Vlad Druffbaum IP ascuns
Problemă Piramida1 (clasa a 6-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 7 feb. 2017 18:25:15 Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'main': main.c:27:20: error: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] 27 | piramida[i] = (toupper(piramida[i]) - 'A') % 9 + 1; | ^~~~~~~ main.c:2:1: note: include '<ctype.h>' or provide a declaration of 'toupper' 1 | #include <stdio.h> +++ |+#include <ctype.h> 2 | main.c:18:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(f, "%s", piramida); | ^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 244 kb Incorect 0
2 0 ms 240 kb Incorect 0
3 0 ms 244 kb Incorect 0
4 0 ms 240 kb Incorect 0
5 0 ms 244 kb Incorect 0
6 0 ms 240 kb Incorect 0
7 0 ms 244 kb Incorect 0
8 0 ms 244 kb Incorect 0
9 0 ms 248 kb Incorect 0
10 0 ms 240 kb Incorect 0
Punctaj total 0