Pagini recente » Borderou de evaluare (job #2618700) | Borderou de evaluare (job #2847470) | Borderou de evaluare (job #2716913) | Borderou de evaluare (job #2419843) | Borderou de evaluare (job #1231892)
Borderou de evaluare (job #1231892)
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 |
| 1 | Depăşit | 260kb | Time limit exceeded. | 0 | 0 |
| 2 | Depăşit | 256kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 252kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 252kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 252kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 260kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |