Pagini recente » Borderou de evaluare (job #860008) | Borderou de evaluare (job #1898817) | Borderou de evaluare (job #450895) | Borderou de evaluare (job #1917318) | Borderou de evaluare (job #1189168)
Borderou de evaluare (job #1189168)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",n);
^
user.cpp:6:13: warning: unused variable ‘j’ [-Wunused-variable]
int k,i,j,w=1,d,nrmax;
^
user.cpp:4:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.in","r",stdin);
^
user.cpp:5:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.out","w",stdout);
^
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 44ms | 4468kb | OK | 10 |
2 | 44ms | 4464kb | OK | 10 |
3 | 44ms | 4464kb | OK | 10 |
4 | 44ms | 4464kb | OK | 10 |
5 | 44ms | 4464kb | OK | 10 |
6 | 44ms | 4464kb | Incorect | 0 |
7 | 44ms | 4464kb | Incorect | 0 |
8 | 44ms | 4468kb | Incorect | 0 |
9 | 44ms | 4464kb | Incorect | 0 |
10 | 44ms | 4460kb | Incorect | 0 |
Punctaj total | 50 |