Pagini recente » Cod sursa (job #867962) | Borderou de evaluare (job #2000689) | Borderou de evaluare (job #1220102) | Borderou de evaluare (job #1969997) | Borderou de evaluare (job #1283758)
Borderou de evaluare (job #1283758)
Raport evaluator
Compilare:
user.cpp: In function ‘void print(nr_mare)’:
user.cpp:52:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",sol.cif[sol.nc-1]);
^
user.cpp:54:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%09d",sol.cif[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:68:9: warning: unused variable ‘Nsq’ [-Wunused-variable]
int Nsq = N*(N-1)/2;
^
user.cpp:63:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perm6.in","r",stdin);
^
user.cpp:64:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perm6.out","w",stdout);
^
user.cpp:66:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 568kb | OK | 10 |
2 | 0ms | 564kb | OK | 10 |
3 | 0ms | 564kb | OK | 10 |
4 | 0ms | 576kb | OK | 10 |
5 | 8ms | 568kb | OK | 10 |
6 | 36ms | 568kb | OK | 10 |
7 | 44ms | 572kb | OK | 10 |
8 | 0ms | 572kb | OK | 10 |
9 | Depăşit | 548kb | Time limit exceeded. | 0 |
10 | Depăşit | 536kb | Time limit exceeded. | 0 |
Punctaj total | 80 |