Pagini recente » Borderou de evaluare (job #1245732) | Borderou de evaluare (job #753421) | Borderou de evaluare (job #312011) | Borderou de evaluare (job #541119) | Borderou de evaluare (job #1183695)
Borderou de evaluare (job #1183695)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:23: warning: unused variable ‘b’ [-Wunused-variable]
int t,i,j,n,sol=0,b=1,h,x;
^
user.cpp:14:27: warning: unused variable ‘h’ [-Wunused-variable]
int t,i,j,n,sol=0,b=1,h,x;
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.out","w",stdout);
^
user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:17:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccJ5ArLX.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 10 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 256kb | OK | 10 |
| 5 | 0ms | 256kb | OK | 10 |
| 6 | 4ms | 252kb | OK | 10 |
| 7 | 16ms | 252kb | OK | 10 |
| 8 | 28ms | 252kb | OK | 10 |
| 9 | 60ms | 256kb | OK | 10 |
| 10 | 64ms | 252kb | Incorect | 0 |
| Punctaj total | 90 |