Borderou de evaluare (job #1231892)

Utilizator BlueStrutAndrei Prahoveanu BlueStrut Data 21 septembrie 2014 18:12:32
Problema Bancomat Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool test()’: user.cpp:8:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i=1;i<=6;i++) scanf("%d", &a[i]); ^ user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:11:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &val[i]); ^ user.cpp:19:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘int main()’: user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bancomat.in","r",stdin); ^ user.cpp:27:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bancomat.out","w",stdout); ^ user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ /tmp/ccFT8FUW.o: In function `test()': user.cpp:(.text+0x1f1): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit260kbTime limit exceeded.00
2Depăşit256kbTime limit exceeded.0
3Depăşit252kbTime limit exceeded.0
4Depăşit260kbTime limit exceeded.0
5Depăşit260kbTime limit exceeded.0
6Depăşit252kbTime limit exceeded.0
7Depăşit252kbTime limit exceeded.0
8Depăşit260kbTime limit exceeded.0
9Depăşit260kbTime limit exceeded.0
10Depăşit260kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?