Pagini recente » Borderou de evaluare (job #520582) | Borderou de evaluare (job #1329678) | Borderou de evaluare (job #2266185) | Borderou de evaluare (job #3250021) | Borderou de evaluare (job #1402264)
Borderou de evaluare (job #1402264)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logs.in","r",stdin);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logs.out","w",stdout);
^
user.cpp:11:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
user.cpp:15:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(l);
^
user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
/tmp/ccqUNquz.o: In function `main':
user.cpp:(.text.startup+0xa0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Incorect | 0 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 8ms | 292kb | Incorect | 0 |
4 | 36ms | 288kb | Incorect | 0 |
5 | 60ms | 288kb | Incorect | 0 |
6 | 100ms | 288kb | Incorect | 0 |
7 | 112ms | 288kb | Incorect | 0 |
8 | 260ms | 284kb | OK | 10 |
9 | 152ms | 288kb | Incorect | 0 |
10 | 164ms | 284kb | Incorect | 0 |
Punctaj total | 10 |