Borderou de evaluare (job #2301259)

Utilizator BRIOI19Ben Test BRIOI19 Data 12 decembrie 2018 19:47:29
Problema Cifre Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:32: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] scanf("%d%d%d%d",a,b,c,k); ^ main.cpp:11:32: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] main.cpp:11:32: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=] main.cpp:11:32: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'int' [-Wformat=] main.cpp:7:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cifre.in","r",stdin); ^ main.cpp:8:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cifre.out","w",stdout); ^ main.cpp:11:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",a,b,c,k); ^ main.cpp:11:33: warning: 'a' is used uninitialized in this function [-Wuninitialized] scanf("%d%d%d%d",a,b,c,k); ^ main.cpp:11:33: warning: 'b' is used uninitialized in this function [-Wuninitialized] main.cpp:11:33: warning: 'c' is used uninitialized in this function [-Wuninitialized] main.cpp:11:33: warning: 'k' is used uninitialized in this function [-Wuninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?