Borderou de evaluare (job #1454843)

Utilizator zikade9Irimia Rares zikade9 Data 27 iunie 2015 11:47:55
Problema Overdrive Status done
Runda Algoritmiada 2015 Runda 3 Juniori Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:13:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&a[i]); ^ user.cpp:21:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",a[n]); ^ user.cpp:53:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",x); ^ user.cpp:8: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:9: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:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
✗10ms248kbIncorect0
✓20ms248kbOK10
✗3Depăşit220kbTime limit exceeded.0
✗4Depăşit220kbTime limit exceeded.0
✓5Depăşit220kbTime limit exceeded.0
✗6Depăşit220kbTime limit exceeded.0
✗7Depăşit216kbTime limit exceeded.0
✗8Depăşit220kbTime limit exceeded.0
✓9Depăşit220kbTime limit exceeded.0
✗10Depăşit220kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?