Pagini recente » Borderou de evaluare (job #2191950) | Borderou de evaluare (job #1571227) | Borderou de evaluare (job #2602935) | Borderou de evaluare (job #2324417) | Borderou de evaluare (job #2417248)
Borderou de evaluare (job #2417248)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=1000000;i++)
^~~
main.cpp:51:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return 0;
^~~~~~
main.cpp:10:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ausoara.in","r",stdin);
^
main.cpp:11:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ausoara.out","w",stdout);
^
main.cpp:12:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:14:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&ul);
^
main.cpp:15:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=ul;i++) {scanf("%d",&v[i]);
^
main.cpp:27:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&ul);
^
main.cpp:28:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=ul;i++) {scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 9ms | 262kb | OK | 10 |
2 | 9ms | 262kb | OK | 10 |
3 | 10ms | 262kb | Incorect | 0 |
4 | 11ms | 262kb | Incorect | 0 |
5 | 12ms | 262kb | Incorect | 0 |
6 | 15ms | 262kb | OK | 10 |
7 | 25ms | 262kb | Incorect | 0 |
8 | 29ms | 262kb | Incorect | 0 |
9 | 36ms | 262kb | Incorect | 0 |
10 | 82ms | 10616kb | OK | 10 |
Punctaj total | 40 |