Borderou de evaluare (job #2344312)

Utilizator BivoBivolaru Alexandru Bivo Data 14 februarie 2019 22:40:17
Problema Energii Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:16: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types] printf(intrare,"Fisierul nu s-a putut deschide"); ^~~~~~~ In file included from /usr/include/stdio.h:936:0, from main.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:102:1: note: expected 'const char * restrict' but argument is of type 'FILE * {aka struct _IO_FILE *}' printf (const char *__restrict __fmt, ...) ^~~~~~ main.c:37:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(CG[i]<CostMin); ^~ main.c:38:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' { ^ main.c:17:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(intrare, "%d %d", &G, &W); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:21:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(intrare, "%d %d",&EG[i],&CG[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbWrong answer!0
22ms131kbWrong answer!0
32ms131kbWrong answer!0
42ms131kbWrong answer!0
52ms131kbWrong answer!0
62ms131kbWrong answer!0
73ms131kbOk!5
82ms131kbWrong answer!0
93ms131kbWrong answer!0
103ms131kbWrong answer!0
113ms131kbWrong answer!0
123ms131kbWrong answer!0
133ms131kbWrong answer!0
143ms131kbWrong answer!0
153ms131kbWrong answer!0
163ms131kbWrong answer!0
173ms131kbWrong answer!0
183ms131kbWrong answer!0
193ms131kbWrong answer!0
203ms131kbWrong answer!0
Punctaj total5

Ceva nu functioneaza?