Borderou de evaluare (job #1288082)

Utilizator seby5381Marinescu Sebastian seby5381 Data 8 decembrie 2014 16:06:01
Problema Noname 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&n,&s); ^ user.cpp:7:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:13:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",i); ^ user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",i); ^ user.cpp:24:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",j+1); ^ user.cpp:5:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("noname3.in","r",stdin); ^ user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("noname3.out","w",stdout); ^ user.cpp:7:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms260kbOK1010
20ms264kbOK1010
30ms264kbOK1010
40ms260kbOK1010
50ms264kbOK1010
60ms260kbOK1030
70ms260kbOK10
80ms260kbOK10
90ms260kbOK1010
100ms252kbOK1010
Punctaj total100

Ceva nu functioneaza?