Borderou de evaluare (job #1191843)

Utilizator lianaliana tucar liana Data 28 mai 2014 19:23:56
Problema Autobuze2 Status done
Runda Infoarena Monthly 2014 - Runda 5 Compilator cpp | Vezi sursa
Scor 89

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:11:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&m); ^ user.cpp:11:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:13:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&a,&b); ^ user.cpp:13:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:14:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&nr); ^ user.cpp:17:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&k); ^ user.cpp:19:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&v[j]); ^ user.cpp: In function ‘void rezolvare()’: user.cpp:44:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",dist[n]); ^ user.cpp: In function ‘void citire()’: user.cpp:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&n,&m); ^ user.cpp:13:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&a,&b); ^ user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&nr); ^ user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&k); ^ user.cpp:19:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&v[j]); ^ user.cpp: In function ‘int main()’: user.cpp:51:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze2.in","r",stdin); ^ user.cpp:52:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze2.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms2640kbOK10100
24ms2640kbOK10
34ms2648kbOK10
44ms2644kbOK10
58ms2676kbOK10
644ms2644kbOK10
772ms2900kbOK10
8100ms2736kbOK10
9100ms3172kbOK10
10100ms3164kbOK10
Penalizare 11 (pentru 23.9 minute)-11
Punctaj total89

Ceva nu functioneaza?