Borderou de evaluare (job #1708411)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 27 mai 2016 00:11:03
Problema Nr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&N,&B); ^ user.cpp:31:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:47:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",a[1]); ^ user.cpp:28:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nr.in","r",stdin); ^ user.cpp:29:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nr.out","w",stdout); ^ user.cpp:31:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&N,&B); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
2Depăşit260kbTime limit exceeded.0
3Depăşit264kbTime limit exceeded.0
4Depăşit264kbTime limit exceeded.0
5532ms288kbIncorect0
6424ms292kbOK10
7108ms296kbOK10
840ms284kbIncorect0
94ms284kbOK10
100ms284kbOK10
Punctaj total50

Ceva nu functioneaza?