Pagini recente » Borderou de evaluare (job #2819437) | Borderou de evaluare (job #2971608) | Borderou de evaluare (job #426522) | Borderou de evaluare (job #39366) | Borderou de evaluare (job #702286)
Borderou de evaluare (job #702286)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&x,&y);
^
user.cpp:24:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:31:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:31:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:58:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",ok);
^
user.cpp:14:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(infile,"r",stdin);
^
user.cpp:15:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outfile,"w",stdout);
^
user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
user.cpp:31:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:29:2: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=1;i<=k;i++) //citirea povestilor ciudate
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 236kb | Incorect | 0 |
2 | 0ms | 236kb | Incorect | 0 |
3 | 0ms | 240kb | Incorect | 0 |
4 | 0ms | 244kb | Incorect | 0 |
5 | 0ms | 240kb | Incorect | 0 |
6 | 0ms | 240kb | Incorect | 0 |
7 | 0ms | 236kb | Incorect | 0 |
8 | 0ms | 244kb | Incorect | 0 |
9 | 0ms | 240kb | Incorect | 0 |
10 | 0ms | 236kb | Incorect | 0 |
Punctaj total | 0 |