Pagini recente » Borderou de evaluare (job #357601) | Borderou de evaluare (job #368802) | Borderou de evaluare (job #759107) | Borderou de evaluare (job #459654) | Borderou de evaluare (job #2068057)
Borderou de evaluare (job #2068057)
Raport evaluator
Compilare:
user.cpp: In function ‘void zalgorithm(int, int, int)’:
user.cpp:29:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (z[i]>=ok)
^
user.cpp: In function ‘int main()’:
user.cpp:35:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.in","r",stdin);
^
user.cpp:36:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.out","w",stdout);
^
user.cpp:38:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n",&t);
^
user.cpp:42:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch);
^
user.cpp:44:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:45:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(st);
^
user.cpp:47:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:48:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(dr);
^
/tmp/cc435qAy.o: In function `main':
user.cpp:(.text.startup+0xbb): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 48ms | 2848kb | Incorect | 0 |
Punctaj total | 0 |