Pagini recente » Borderou de evaluare (job #2218104) | Borderou de evaluare (job #2087630) | Borderou de evaluare (job #1926786) | Borderou de evaluare (job #835495) | Borderou de evaluare (job #1359498)
Borderou de evaluare (job #1359498)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:106:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invazia.in","r",stdin);
^
user.cpp:107:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invazia.out","w", stdout);
^
user.cpp:109:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m); gets(s);
^
user.cpp:109:33: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m); gets(s);
^
user.cpp:111:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccaKc7ih.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 836ms | 27248kb | Incorect | 0 |
Punctaj total | 0 |