Pagini recente » Borderou de evaluare (job #2901355) | Borderou de evaluare (job #1655196) | Borderou de evaluare (job #712026) | Borderou de evaluare (job #82517) | Borderou de evaluare (job #1726020)
Borderou de evaluare (job #1726020)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefixe.in", "r", stdin);
^
user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefixe.out", "w", stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:10:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b);
^
user.cpp:13:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1);
^
/tmp/ccUawh3a.o: In function `main':
user.cpp:(.text.startup+0x68): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1112ms | 772kb | OK | 100 |
Punctaj total | 100 |