Pagini recente » Borderou de evaluare (job #2447271) | Borderou de evaluare (job #263395) | Borderou de evaluare (job #2497520) | Borderou de evaluare (job #2906231) | Borderou de evaluare (job #1605293)
Borderou de evaluare (job #1605293)
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 | 432kb | OK | 10 | 20 |
| 3 | 0ms | 424kb | OK | 10 |
| 4 | 20ms | 428kb | OK | 10 | 10 |
| 5 | 32ms | 424kb | OK | 10 | 10 |
| 6 | 44ms | 432kb | OK | 10 | 10 |
| 7 | 56ms | 428kb | OK | 10 | 40 |
| 8 | 64ms | 424kb | OK | 10 |
| 9 | 68ms | 428kb | OK | 10 |
| 10 | 108ms | 428kb | OK | 10 |
| Punctaj total | 100 |