Pagini recente » Borderou de evaluare (job #1538941) | Borderou de evaluare (job #1538936) | Borderou de evaluare (job #1183110) | Borderou de evaluare (job #1158704) | Borderou de evaluare (job #1633617)
Borderou de evaluare (job #1633617)
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:52: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 | 436kb | OK | 10 | 0 |
2 | 24ms | 436kb | OK | 10 |
3 | 20ms | 440kb | OK | 10 |
4 | 20ms | 440kb | OK | 10 |
5 | 20ms | 432kb | OK | 10 |
6 | 20ms | 436kb | OK | 10 |
7 | 20ms | 440kb | OK | 10 |
8 | 20ms | 432kb | Incorect | 0 |
9 | 20ms | 436kb | OK | 10 |
10 | 20ms | 432kb | OK | 10 |
Punctaj total | 0 |