Pagini recente » Borderou de evaluare (job #523868) | Borderou de evaluare (job #325179) | Borderou de evaluare (job #238126) | Borderou de evaluare (job #1968753) | Borderou de evaluare (job #1471837)
Borderou de evaluare (job #1471837)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:18:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘int main()’:
user.cpp:81:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:81:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:111:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d %d",Max,x1,x2);
^
user.cpp:111:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:111:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp: In function ‘void Read()’:
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&M);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp: In function ‘int main()’:
user.cpp:73:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.in","r",stdin);
^
user.cpp:74:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.out","w",stdout);
^
user.cpp:81:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 668kb | Incorect | 0 |
2 | 0ms | 676kb | Incorect | 0 |
3 | 0ms | 780kb | Incorect | 0 |
4 | 4ms | 712kb | Incorect | 0 |
5 | 4ms | 728kb | Incorect | 0 |
6 | 12ms | 844kb | Incorect | 0 |
7 | 288ms | 7136kb | Incorect | 0 |
8 | 20ms | 1000kb | Incorect | 0 |
9 | 176ms | 1192kb | Incorect | 0 |
10 | 252ms | 1212kb | Incorect | 0 |
Punctaj total | 0 |