Borderou de evaluare (job #1251264)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:85:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d%I64d", &N, &P);
^
user.cpp:85:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:96:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n", left);
^
user.cpp:79:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frac.in", "r", stdin);
^
user.cpp:80:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frac.out", "w", stdout);
^
user.cpp:85:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d", &N, &P);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 476kb | Incorect | 0 |
| 2 | 0ms | 472kb | Incorect | 0 |
| 3 | 0ms | 472kb | Incorect | 0 |
| 4 | 0ms | 472kb | Incorect | 0 |
| 5 | 0ms | 476kb | Incorect | 0 |
| 6 | 0ms | 468kb | Incorect | 0 |
| 7 | 0ms | 468kb | Incorect | 0 |
| 8 | 0ms | 472kb | Incorect | 0 |
| 9 | 0ms | 472kb | Incorect | 0 |
| 10 | 0ms | 472kb | Incorect | 0 |
| Punctaj total | 0 |