Borderou de evaluare (job #1292110)

Utilizator ovidiuz98Zamfir Ovidiu ovidiuz98 Data 13 decembrie 2014 17:33:58
Problema Raliu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&T); ^ user.cpp:11:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:14:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:16:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&c[i]); ^ user.cpp:28:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("DA\n%ld\n",inc),ok=1; ^ user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("raliu.in","r",stdin); ^ user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("raliu.out","w",stdout); ^ user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&T); ^ user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:14:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&v[i]); ^ user.cpp:16:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&c[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbIncorect0
20ms276kbIncorect0
34ms296kbIncorect0
4148ms1204kbIncorect0
5244ms1832kbIncorect0
6368ms2612kbIncorect0
71672ms9640kbIncorect0
82528ms14328kbIncorect0
92508ms14324kbIncorect0
10Depăşit15884kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?