Pagini recente » Borderou de evaluare (job #937106) | Borderou de evaluare (job #3040041) | Borderou de evaluare (job #1321929) | Borderou de evaluare (job #2793699) | Borderou de evaluare (job #1786083)
Borderou de evaluare (job #1786083)
Raport evaluator
Compilare:
user.cpp: In function ‘int Solve(int, int)’:
user.cpp:34:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:54:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", Sol[Sol[0]]);
^
user.cpp:60:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", Sol[i]);
^
user.cpp:37:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perm3.in", "r", stdin);
^
user.cpp:38:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perm3.out", "w", stdout);
^
user.cpp:39:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:41:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i]);
^
user.cpp:44:24: 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 | 268kb | OK! | 10 |
2 | 0ms | 264kb | OK! | 10 |
3 | Depăşit | 244kb | Time limit exceeded. | 0 |
4 | Depăşit | 244kb | Time limit exceeded. | 0 |
5 | Depăşit | 240kb | Time limit exceeded. | 0 |
6 | 16ms | 268kb | OK! | 10 |
7 | Depăşit | 240kb | Time limit exceeded. | 0 |
8 | Depăşit | 240kb | Time limit exceeded. | 0 |
9 | 4ms | 272kb | OK! | 10 |
10 | Depăşit | 240kb | Time limit exceeded. | 0 |
Punctaj total | 40 |