Borderou de evaluare (job #1517122)

Utilizator binicBinica Nicolae binic Data 3 noiembrie 2015 21:28:23
Problema Overdrive Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:62:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:65:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&a[i]); ^ user.cpp:74:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",ras); ^ user.cpp:60:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("overdrive.in","r",stdin); ^ user.cpp:61:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("overdrive.out","w",stdout); ^ user.cpp:62:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:65:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms268kbOK10
38ms272kbIncorect0
4Depăşit744kbTime limit exceeded.0
5Depăşit748kbTime limit exceeded.0
6Depăşit748kbTime limit exceeded.0
7Depăşit752kbTime limit exceeded.0
8Depăşit748kbTime limit exceeded.0
9Depăşit748kbTime limit exceeded.0
10Depăşit748kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?