Borderou de evaluare (job #1870809)

Utilizator jason2013Andronache Riccardo jason2013 Data 6 februarie 2017 22:18:46
Problema Suma Status done
Runda bbc1 Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d%d", &N, &P); ^ user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suma.in", "r", stdin); ^ user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suma.out", "w", stdout); ^ user.cpp:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &P); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbOK10
20ms448kbIncorect0
30ms444kbIncorect0
4Depăşit408kbTime limit exceeded.0
5Depăşit408kbTime limit exceeded.0
6Depăşit400kbTime limit exceeded.0
7Depăşit408kbTime limit exceeded.0
8Depăşit404kbTime limit exceeded.0
9Depăşit404kbTime limit exceeded.0
10Depăşit400kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?