Pagini recente » Borderou de evaluare (job #389836) | Borderou de evaluare (job #134474) | Borderou de evaluare (job #180257) | Borderou de evaluare (job #2348164) | Borderou de evaluare (job #1877902)
Borderou de evaluare (job #1877902)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:11: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
int t,ok,c,nch,l2,c2,x;
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatii.in","r",stdin);
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatii.out","w",stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ",&n,&w);
^
user.cpp:21:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccTlE5UD.o: In function `main':
user.cpp:(.text.startup+0xc0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1636ms | 22332kb | Respect Maxim ! | 50 | 100 |
2 | 128ms | 11700kb | Respect Maxim ! | 50 |
Punctaj total | 100 |