Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #2099957) | Monitorul de evaluare | Cod sursa (job #62098) | Borderou de evaluare (job #1536212)
Borderou de evaluare (job #1536212)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("traseu2.in","r",stdin);
^
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("traseu2.out","w",stdout);
^
user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m); gets(s);
^
user.cpp:20:30: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m); gets(s);
^
user.cpp:22:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); k=1;
^
/tmp/ccoVb9WT.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 12ms | 376kb | Incorect | 0 | 0 |
| 2 | 12ms | 364kb | Incorect | 0 |
| 3 | 12ms | 364kb | Incorect | 0 |
| 4 | 8ms | 368kb | Incorect | 0 |
| 5 | 8ms | 372kb | Incorect | 0 |
| 6 | 12ms | 368kb | Incorect | 0 |
| 7 | 12ms | 372kb | Incorect | 0 |
| 8 | 12ms | 368kb | Incorect | 0 |
| 9 | 12ms | 368kb | Incorect | 0 |
| 10 | 8ms | 368kb | OK | 10 |
| Punctaj total | 0 |