Pagini recente » Cod sursa (job #812293) | Cod sursa (job #1888043) | Cod sursa (job #587609) | Cod sursa (job #1126483) | Borderou de evaluare (job #1539543)
Borderou de evaluare (job #1539543)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("edist.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("edist.out","w",stdout);
^
user.cpp:14:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&n,&m,&k);
^
user.cpp:15:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s1);
^
user.cpp:16:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s2);
^
/tmp/ccxMFXfm.o: In function `main':
user.cpp:(.text.startup+0x8c): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 10 |
| 2 | 0ms | 284kb | OK | 10 |
| 3 | 0ms | 288kb | OK | 10 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 0ms | 284kb | OK | 10 |
| 6 | 0ms | 300kb | OK | 10 |
| 7 | 8ms | 308kb | OK | 10 |
| 8 | 16ms | 388kb | OK | 10 |
| 9 | 24ms | 456kb | OK | 10 |
| 10 | 16ms | 460kb | OK | 10 |
| Punctaj total | 100 |