Borderou de evaluare (job #1858917)

Utilizator BourucLiviuBouruc Petru Liviu BourucLiviu Data 27 ianuarie 2017 16:46:30
Problema Costuri Status done
Runda PreOJI 2017 Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &vi[i]); ^ user.cpp:46:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n", vi[i]); ^ user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("costuri.in", "r", stdin); ^ user.cpp:22:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("costuri.out", "w", stdout); ^ user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:27:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &vi[i]); ^ user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ user.cpp:34:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &p, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms264kbOK10
30ms260kbOK10
4Depăşit1048kbTime limit exceeded.0
5Depăşit1048kbTime limit exceeded.0
6Depăşit1048kbTime limit exceeded.0
7Depăşit972kbTime limit exceeded.0
8Depăşit1048kbTime limit exceeded.0
9Depăşit1040kbTime limit exceeded.0
10Depăşit1044kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?