Borderou de evaluare (job #1252322)

Utilizator ade_tomiEnache Adelina ade_tomi Data 30 octombrie 2014 17:31:57
Problema Furnicik Status done
Runda selectie_shumen_ichb Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&n,&l,&t); ^ user.cpp:11:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:11:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:15:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&x,&d); ^ user.cpp:15:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:53:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",v[i]); ^ user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("furnicik.in","r",stdin); ^ user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("furnicik.out","w",stdout); ^ user.cpp:11:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&l,&t); ^ user.cpp:15:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms264kbOK10
30ms272kbOK10
40ms288kbOK10
58ms348kbOK10
644ms660kbOK10
796ms1044kbOK10
896ms1052kbOK10
992ms1044kbOK10
1080ms1048kbOK10
Punctaj total100

Ceva nu functioneaza?