Pagini recente » Borderou de evaluare (job #1909638) | Borderou de evaluare (job #702216) | Borderou de evaluare (job #2133856) | Borderou de evaluare (job #2855847) | Borderou de evaluare (job #1359435)
Borderou de evaluare (job #1359435)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:85: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:86: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:88: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:88: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:90:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccC8ofa3.o: In function `main':
user.cpp:(.text.startup+0x74): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 156ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |