Borderou de evaluare (job #1870516)

Utilizator jason2013Andronache Riccardo jason2013 Data 6 februarie 2017 18:31:32
Problema Suma Status done
Runda bbc1 Compilator cpp | Vezi sursa
Scor 20

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:11:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i <= N; i++) ^ 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
10ms448kbOK10
20ms444kbOK10
392ms440kbIncorect0
4Depăşit400kbTime limit exceeded.0
5Depăşit396kbTime limit exceeded.0
6Depăşit400kbTime limit exceeded.0
7Depăşit400kbTime limit exceeded.0
8Depăşit396kbTime limit exceeded.0
9Depăşit400kbTime limit exceeded.0
10Depăşit404kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?