Borderou de evaluare (job #1206023)

Utilizator ZenusTudor Costin Razvan Zenus Data 8 iulie 2014 18:41:11
Problema Subsiruri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d\n",&N); ^ user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subsiruri2.in","r",stdin); ^ user.cpp:36:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subsiruri2.out","w",stdout); ^ user.cpp:38:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&N); ^ user.cpp:39:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S+1); ^ /tmp/ccWwgKGn.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit260kbTime limit exceeded.0
20ms288kbOK10
30ms288kbOK10
420ms288kbOK10
5Depăşit256kbTime limit exceeded.0
6Depăşit256kbTime limit exceeded.0
7Depăşit256kbTime limit exceeded.0
8Depăşit260kbTime limit exceeded.0
9Depăşit256kbTime limit exceeded.0
10Depăşit252kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?