Pagini recente » Borderou de evaluare (job #2114929) | Borderou de evaluare (job #2890753) | Borderou de evaluare (job #2233812) | Borderou de evaluare (job #1335847) | Borderou de evaluare (job #598794)
Borderou de evaluare (job #598794)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ver()’:
user.cpp:15:16: warning: unused variable ‘ss’ [-Wunused-variable]
int i,j; char ss[130];
^
user.cpp: In function ‘int main()’:
user.cpp:69:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&a,&b); a=a*3+2; b=b*3+1;
^
user.cpp:69:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp: In function ‘void sca()’:
user.cpp:31:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
user.cpp: In function ‘int main()’:
user.cpp:66:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("risipa.in","r",stdin);
^
user.cpp:67:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("risipa.out","w",stdout);
^
user.cpp:69:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b); a=a*3+2; b=b*3+1;
^
/tmp/cc5bvL8V.o: In function `sca()':
user.cpp:(.text+0x1ce): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | Incorect | 0 |
| 2 | 0ms | 280kb | Incorect | 0 |
| 3 | 0ms | 292kb | Incorect | 0 |
| 4 | 0ms | 304kb | Incorect | 0 |
| 5 | 0ms | 332kb | Incorect | 0 |
| 6 | 0ms | 332kb | Incorect | 0 |
| 7 | 0ms | 348kb | Incorect | 0 |
| 8 | 0ms | 360kb | Incorect | 0 |
| 9 | 0ms | 348kb | Incorect | 0 |
| 10 | 0ms | 368kb | Incorect | 0 |
| Punctaj total | 0 |