Pagini recente » Borderou de evaluare (job #2115615) | Borderou de evaluare (job #3266100) | Borderou de evaluare (job #573138) | Borderou de evaluare (job #2116589) | Borderou de evaluare (job #1633637)
Borderou de evaluare (job #1633637)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&n,&m);
^
user.cpp:36:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:39:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:45:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d %d",&a,&b,&c);
^
user.cpp:45:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:45:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:53:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",rez);
^
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pokemon3.in","r",stdin);
^
user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pokemon3.out","w",stdout);
^
user.cpp:36:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:39:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:45:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&a,&b,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 24ms | 440kb | OK | 10 | 100 |
2 | 24ms | 436kb | OK | 10 |
3 | 20ms | 444kb | OK | 10 |
4 | 20ms | 436kb | OK | 10 |
5 | 20ms | 436kb | OK | 10 |
6 | 20ms | 436kb | OK | 10 |
7 | 20ms | 444kb | OK | 10 |
8 | 20ms | 444kb | OK | 10 |
9 | 20ms | 440kb | OK | 10 |
10 | 20ms | 440kb | OK | 10 |
Punctaj total | 100 |