Pagini recente » Borderou de evaluare (job #2864787) | Borderou de evaluare (job #1359447) | Borderou de evaluare (job #3002919) | Borderou de evaluare (job #1406879) | Borderou de evaluare (job #1361651)
Borderou de evaluare (job #1361651)
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/ccb1ttjp.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 | 928ms | 25788kb | OK | 100 |
Punctaj total | 100 |