Borderou de evaluare (job #1301226)

Utilizator anarogozAna Rogoz anarogoz Data 25 decembrie 2014 18:46:02
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d\n",suma); ^ user.cpp:44:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d S\n",suma-nrs); ^ user.cpp:46:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d D",suma-nrd); ^ user.cpp:48:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d S",nrd-suma); ^ user.cpp:52:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d D\n0 D",suma-nrd); ^ user.cpp:54:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d D\n%I64d D",suma-nrd,nrs-suma); ^ user.cpp:54:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("7-vase.in","r",stdin); ^ user.cpp:8:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vase.out","w",stdout); ^ user.cpp:15:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %c\n",&x,&dir); ^ user.cpp:37:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1812kbRaspuns gresit0
20ms1816kbRaspuns gresit0
30ms1816kbRaspuns gresit0
40ms1816kbRaspuns gresit0
50ms1812kbRaspuns gresit0
60ms1812kbRaspuns gresit0
70ms1816kbRaspuns gresit0
80ms1820kbRaspuns gresit0
90ms1816kbRaspuns gresit0
100ms1816kbRaspuns gresit0
110ms1812kbRaspuns gresit0
120ms1816kbRaspuns gresit0
130ms1812kbRaspuns gresit0
140ms1812kbRaspuns gresit0
150ms1816kbRaspuns gresit0
160ms1816kbRaspuns gresit0
170ms1820kbRaspuns gresit0
180ms1816kbRaspuns gresit0
190ms1812kbRaspuns gresit0
200ms1816kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?