Pagini recente » Borderou de evaluare (job #1150209) | Borderou de evaluare (job #2006276) | Borderou de evaluare (job #1972787) | Borderou de evaluare (job #1594013) | Borderou de evaluare (job #1518101)
Borderou de evaluare (job #1518101)
Raport evaluator
Compilare:
user.cpp: In function ‘void rsw()’:
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frumusete.in", "r", stdin);
^
user.cpp:13:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frumusete.out", "w", stdout);
^
user.cpp:15:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:18:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &k);
^
user.cpp:19:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/cc0qWEk4.o: In function `rsw()':
user.cpp:(.text+0x91): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 8108kb | Time limit exceeded. | 0 |
Punctaj total | 0 |