Pagini recente » Borderou de evaluare (job #2785378) | Borderou de evaluare (job #1547344) | Borderou de evaluare (job #3202794) | Borderou de evaluare (job #1682140) | Borderou de evaluare (job #1341062)
Borderou de evaluare (job #1341062)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&p);
^
user.cpp:15:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.in","r",stdin);
^
user.cpp:13:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.out","w",stdout);
^
user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&p);
^
user.cpp:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 252kb | Incorect | 0 | 0 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 240kb | OK | 10 | 0 |
4 | 0ms | 240kb | Incorect | 0 |
5 | 28ms | 564kb | Incorect | 0 | 0 |
6 | 28ms | 568kb | OK | 10 |
7 | 244ms | 3060kb | Incorect | 0 | 0 |
8 | 228ms | 3060kb | Incorect | 0 |
9 | 232ms | 3060kb | Incorect | 0 |
10 | 244ms | 3056kb | OK | 10 |
Punctaj total | 0 |