Pagini recente » Borderou de evaluare (job #2155209) | Borderou de evaluare (job #294225) | Borderou de evaluare (job #690765) | Borderou de evaluare (job #2815123) | Borderou de evaluare (job #1347334)
Borderou de evaluare (job #1347334)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:23:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &a, &b);
^
user.cpp:23:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:24:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d", a, b);
^
user.cpp:24:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid2.in", "r", stdin);
^
user.cpp:18:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid2.out", "w", stdout);
^
user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:23:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 428kb | Incorect | 0 | 0 |
2 | 0ms | 428kb | Incorect | 0 | 0 |
3 | 0ms | 428kb | Incorect | 0 |
4 | 20ms | 428kb | Incorect | 0 | 0 |
5 | 28ms | 432kb | Incorect | 0 | 0 |
6 | 40ms | 432kb | Incorect | 0 | 0 |
7 | 48ms | 428kb | Incorect | 0 | 0 |
8 | 60ms | 424kb | Incorect | 0 |
9 | 64ms | 428kb | Incorect | 0 |
10 | 100ms | 428kb | Incorect | 0 |
Punctaj total | 0 |