Pagini recente » Borderou de evaluare (job #2009404) | Borderou de evaluare (job #245548) | Borderou de evaluare (job #237140) | Borderou de evaluare (job #3232613) | Borderou de evaluare (job #1327040)
Borderou de evaluare (job #1327040)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf ("%d", &r);
^
user.cpp:27:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
{scanf("%d", &r);
^
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen ("joc8.in", "r", stdin);
^
user.cpp:9:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &x, &y);
^
user.cpp:22:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &r);
^
user.cpp:27:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d", &r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 10 |
2 | 0ms | 472kb | OK | 10 |
3 | 0ms | 472kb | OK | 10 |
4 | 0ms | 476kb | OK | 10 |
5 | 0ms | 476kb | Incorect | 0 |
6 | 0ms | 480kb | OK | 10 |
7 | 0ms | 488kb | Incorect | 0 |
8 | 0ms | 496kb | Incorect | 0 |
9 | 0ms | 504kb | OK | 10 |
10 | 0ms | 508kb | OK | 10 |
Punctaj total | 70 |