Pagini recente » Borderou de evaluare (job #3037834) | Borderou de evaluare (job #3225986) | Borderou de evaluare (job #2616360) | Borderou de evaluare (job #1352802) | Borderou de evaluare (job #1285959)
Borderou de evaluare (job #1285959)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n); scanf("%d",&p);;
^
user.cpp:9:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n); scanf("%d",&p);;
^
user.cpp:15:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&x);scanf("%d",&y);
^
user.cpp:15:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&x);scanf("%d",&y);
^
user.cpp:21:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",c);
^
user.cpp:25:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
{ scanf("%d",&x);
^
user.cpp:34:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",c);
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.in","r",stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.out","w",stdout);
^
user.cpp:9:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); scanf("%d",&p);;
^
user.cpp:9:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); scanf("%d",&p);;
^
user.cpp:15:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);scanf("%d",&y);
^
user.cpp:15:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);scanf("%d",&y);
^
user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d",&x);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 0ms | 232kb | Incorect | 0 | 0 |
✓ | 2 | 0ms | 236kb | OK | 10 |
✗ | 3 | 0ms | 232kb | OK | 10 | 0 |
✗ | 4 | 0ms | 236kb | Incorect | 0 |
✓ | 5 | 0ms | 236kb | Incorect | 0 | 0 |
✗ | 6 | 0ms | 240kb | OK | 10 |
✗ | 7 | 0ms | 240kb | Incorect | 0 | 0 |
✓ | 8 | 0ms | 236kb | Incorect | 0 |
✗ | 9 | 0ms | 240kb | Incorect | 0 |
✗ | 10 | 116ms | 240kb | OK | 10 |
Punctaj total | 0 |