Pagini recente » Borderou de evaluare (job #1091673) | Borderou de evaluare (job #2948004) | Borderou de evaluare (job #897726) | Borderou de evaluare (job #2477250) | Borderou de evaluare (job #1471842)
Borderou de evaluare (job #1471842)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:18:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:81:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&x,&y);
^
user.cpp:81:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:111:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld %ld",Max,x1,x2);
^
user.cpp:111:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:111:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘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:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&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:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 676kb | OK | 10 |
2 | 0ms | 680kb | OK | 10 |
3 | 0ms | 776kb | OK | 10 |
4 | 4ms | 700kb | Incorect | 0 |
5 | 4ms | 720kb | Incorect | 0 |
6 | 12ms | 804kb | Incorect | 0 |
7 | 276ms | 7004kb | OK | 10 |
8 | 24ms | 928kb | Incorect | 0 |
9 | 176ms | 1080kb | Incorect | 0 |
10 | 268ms | 1100kb | Incorect | 0 |
Punctaj total | 40 |