Pagini recente » Borderou de evaluare (job #1280314) | Borderou de evaluare (job #1307293) | Borderou de evaluare (job #3149303) | Borderou de evaluare (job #1663746) | Borderou de evaluare (job #1552140)
Borderou de evaluare (job #1552140)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.in", "r", stdin);
^
user.cpp:45:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.out", "w", stdout);
^
user.cpp:47:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d\n", &T); T; -- T) {
^
user.cpp:48:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:49:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:53:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(word + 1);
^
/tmp/ccLf77mV.o: In function `main':
user.cpp:(.text.startup+0x76): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 220ms | 3300kb | OK | 100 |
Punctaj total | 100 |