Borderou de evaluare (job #1392321)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12: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:13: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:33: 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:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s1+1);
^
user.cpp:16:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s2+1);
^
/tmp/ccEbPH0a.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 296kb | OK | 10 |
7 | 8ms | 304kb | OK | 10 |
8 | 24ms | 380kb | OK | 10 |
9 | 32ms | 456kb | OK | 10 |
10 | 20ms | 456kb | OK | 10 |
Punctaj total | 100 |