Borderou de evaluare (job #1442412)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &k, &n);
^
user.cpp:16:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:24:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &x);
^
user.cpp:13:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("popularitate.in","r",stdin);
^
user.cpp:14:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("popularitate.out","w",stdout);
^
user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &k, &n);
^
user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &m); crt = 1; putere_k = 0;
^
user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 4ms | 264kb | OK | 10 |
4 | Depăşit | 240kb | Time limit exceeded. | 0 |
5 | 0ms | 260kb | Incorect | 0 |
6 | Depăşit | 236kb | Time limit exceeded. | 0 |
7 | Depăşit | 236kb | Time limit exceeded. | 0 |
8 | Depăşit | 236kb | Time limit exceeded. | 0 |
9 | Depăşit | 236kb | Time limit exceeded. | 0 |
10 | Depăşit | 240kb | Time limit exceeded. | 0 |
Punctaj total | 30 |