Pagini recente » Cod sursa (job #970684) | Borderou de evaluare (job #1554991) | Borderou de evaluare (job #824114) | Cod sursa (job #970696) | Borderou de evaluare (job #1520336)
Borderou de evaluare (job #1520336)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("per.in","r",stdin);
^
user.cpp:15:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("per.out","w",stdout);
^
user.cpp:16:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&n,&k); gets(s+1);
^
user.cpp:16:33: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&n,&k); gets(s+1);
^
/tmp/ccx4NnCA.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 272kb | Incorect | 0 | 0 |
| 2 | 0ms | 276kb | Incorect | 0 |
| 3 | 0ms | 276kb | Incorect | 0 |
| 4 | 0ms | 280kb | Incorect | 0 |
| 5 | 0ms | 276kb | Incorect | 0 |
| 6 | 0ms | 276kb | Incorect | 0 |
| 7 | 0ms | 276kb | Incorect | 0 |
| 8 | 0ms | 276kb | Incorect | 0 |
| 9 | 0ms | 272kb | Incorect | 0 |
| 10 | 0ms | 272kb | OK | 10 |
| Punctaj total | 0 |