Pagini recente » Borderou de evaluare (job #2792989) | Borderou de evaluare (job #513088) | Borderou de evaluare (job #2846077) | Borderou de evaluare (job #2540661) | Borderou de evaluare (job #1729415)
Borderou de evaluare (job #1729415)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d %d\n", &n, &d, &k);
^
user.cpp:14:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:14:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:41:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", D[d][n]);
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expozitie.in", "r", stdin);
^
user.cpp:12:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expozitie.out", "w", stdout);
^
user.cpp:14:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &n, &d, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 780kb | Incorect | 0 |
2 | 0ms | 524kb | Incorect | 0 |
3 | 0ms | 472kb | OK | 10 |
4 | 0ms | 664kb | Incorect | 0 |
5 | 0ms | 464kb | OK | 10 |
6 | 0ms | 688kb | Incorect | 0 |
7 | 0ms | 428kb | OK | 10 |
8 | 0ms | 524kb | Incorect | 0 |
9 | 0ms | 424kb | OK | 10 |
10 | 0ms | 440kb | OK | 10 |
Punctaj total | 50 |