Pagini recente » Borderou de evaluare (job #151158) | Borderou de evaluare (job #818608) | Borderou de evaluare (job #292244) | Borderou de evaluare (job #1090693) | Borderou de evaluare (job #1593292)
Borderou de evaluare (job #1593292)
Raport evaluator
Compilare:
user.cpp: In function ‘int C(int)’:
user.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perle.in","r",stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perle.out","w",stdout);
^
user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:28:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:29:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=k; i++) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK! | 10 |
2 | 0ms | 252kb | OK! | 10 |
3 | 0ms | 252kb | OK! | 10 |
4 | 0ms | 252kb | OK! | 10 |
5 | 0ms | 252kb | OK! | 10 |
6 | 0ms | 252kb | OK! | 10 |
7 | 0ms | 256kb | OK! | 10 |
8 | 4ms | 272kb | OK! | 10 |
9 | 4ms | 288kb | OK! | 10 |
10 | 12ms | 288kb | OK! | 10 |
Punctaj total | 100 |