Pagini recente » Borderou de evaluare (job #347545) | Borderou de evaluare (job #826983) | Borderou de evaluare (job #1813828) | Borderou de evaluare (job #2485299) | Borderou de evaluare (job #1746433)
Borderou de evaluare (job #1746433)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.in","r",stdin);
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.out","w",stdout);
^
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:31:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&junk);
^
user.cpp:32:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v);
^
/tmp/cc5JLKN5.o: In function `main':
user.cpp:(.text.startup+0x95): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | Incorect | 0 |
| 2 | 0ms | 368kb | Incorect | 0 |
| 3 | 0ms | 668kb | Incorect | 0 |
| 4 | 0ms | 764kb | Incorect | 0 |
| 5 | 0ms | 276kb | OK | 5 |
| 6 | 0ms | 276kb | OK | 5 |
| 7 | 0ms | 288kb | OK | 5 |
| 8 | 0ms | 288kb | Incorect | 0 |
| 9 | 0ms | 296kb | OK | 5 |
| 10 | 0ms | 304kb | OK | 5 |
| 11 | 0ms | 368kb | OK | 5 |
| 12 | 0ms | 428kb | Incorect | 0 |
| 13 | 0ms | 472kb | Incorect | 0 |
| 14 | 0ms | 524kb | Incorect | 0 |
| 15 | 0ms | 564kb | Incorect | 0 |
| 16 | 0ms | 616kb | Incorect | 0 |
| 17 | 0ms | 668kb | Incorect | 0 |
| 18 | 0ms | 712kb | Incorect | 0 |
| 19 | 0ms | 760kb | Incorect | 0 |
| 20 | 0ms | 760kb | Incorect | 0 |
| Punctaj total | 30 |