Borderou de evaluare (job #1354702)

Utilizator tudi98Cozma Tudor tudi98 Data 21 februarie 2015 23:08:47
Problema Spirala2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:112:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",x-1); ^ user.cpp: In function ‘int main()’: user.cpp:120:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&n,&k); ^ user.cpp:120:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:117:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spirala2.in", "r", stdin); ^ user.cpp:118:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spirala2.out", "w", stdout); ^ user.cpp:120:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
20ms284kbOK10
30ms280kbOK10
40ms284kbOK10
528ms288kbOK10
6Depăşit276kbTime limit exceeded.0
7Depăşit280kbTime limit exceeded.0
8Depăşit260kbTime limit exceeded.0
9Depăşit272kbTime limit exceeded.0
10Depăşit268kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?