Pagini recente » Borderou de evaluare (job #2791199) | Borderou de evaluare (job #248129) | Borderou de evaluare (job #217140) | Borderou de evaluare (job #3188958) | Borderou de evaluare (job #1605072)
Borderou de evaluare (job #1605072)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &T);
^
user.cpp:30:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d", &a, &b);
^
user.cpp:30:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:31:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", cmmdc(a,b));
^
user.cpp:24:37: 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:25: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:27:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:30: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 | OK | 10 | 10 |
2 | 0ms | 428kb | OK | 10 | 20 |
3 | 0ms | 432kb | OK | 10 |
4 | 20ms | 424kb | OK | 10 | 10 |
5 | 32ms | 428kb | OK | 10 | 10 |
6 | 44ms | 424kb | OK | 10 | 10 |
7 | 52ms | 432kb | OK | 10 | 40 |
8 | 64ms | 428kb | OK | 10 |
9 | 72ms | 432kb | OK | 10 |
10 | 108ms | 432kb | OK | 10 |
Punctaj total | 100 |