Pagini recente » Borderou de evaluare (job #1207747) | Borderou de evaluare (job #1267452) | Borderou de evaluare (job #1344224) | Borderou de evaluare (job #2032029) | Borderou de evaluare (job #1518103)
Borderou de evaluare (job #1518103)
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:28:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:31:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &k);
^
user.cpp:32:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccNctlJr.o: In function `rsw()':
user.cpp:(.text+0x104): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 780ms | 8112kb | OK | 100 |
Punctaj total | 100 |