Pagini recente » Borderou de evaluare (job #1038469) | Borderou de evaluare (job #1399188) | Borderou de evaluare (job #786874) | Borderou de evaluare (job #614700) | Borderou de evaluare (job #1857503)
Borderou de evaluare (job #1857503)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("klsecv.in","r",stdin);
^
user.cpp:66:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("klsecv.out","w",stdout);
^
user.cpp:68:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:71:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:72:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
user.cpp:95:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:98:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v1[i].l,&v1[i].nr);
^
/tmp/cch85AsW.o: In function `main':
user.cpp:(.text.startup+0x8a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 196ms | 2332kb | OK! | 100 |
Punctaj total | 100 |