Pagini recente » Borderou de evaluare (job #2305635) | Borderou de evaluare (job #556303) | Borderou de evaluare (job #744609) | Borderou de evaluare (job #2782419) | Borderou de evaluare (job #1263092)
Borderou de evaluare (job #1263092)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pufu.in", "r", stdin);
^
user.cpp:13:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pufu.out", "w", stdout);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:24:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccsRpgoF.o: In function `main':
user.cpp:(.text.startup+0xec): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 100 |
Punctaj total | 100 |