Pagini recente » Borderou de evaluare (job #2710077) | Borderou de evaluare (job #964857) | Borderou de evaluare (job #2533143) | Borderou de evaluare (job #3002396) | Borderou de evaluare (job #1335186)
Borderou de evaluare (job #1335186)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.in","r",stdin);
^
user.cpp:44:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.out","w",stdout);
^
user.cpp:45: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:47:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:71:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.in","r",stdin);
^
user.cpp:73:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&x,&y);
^
user.cpp:75:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccsxozxm.o: In function `main':
user.cpp:(.text.startup+0x8e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 9340kb | OK | 10 |
2 | 16ms | 9532kb | OK | 10 |
3 | 20ms | 9840kb | OK | 10 |
4 | 60ms | 10292kb | OK | 10 |
5 | 136ms | 10716kb | OK | 10 |
6 | 188ms | 11024kb | OK | 10 |
7 | 248ms | 11160kb | OK | 10 |
8 | 332ms | 11368kb | OK | 10 |
9 | 336ms | 11448kb | OK | 10 |
10 | 344ms | 11448kb | OK | 10 |
Punctaj total | 100 |