Pagini recente » Borderou de evaluare (job #2866687) | Borderou de evaluare (job #1971665) | Borderou de evaluare (job #2276944) | Borderou de evaluare (job #237063) | Borderou de evaluare (job #2417251)
Borderou de evaluare (job #2417251)
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 | OK | 10 |
4 | 11ms | 262kb | OK | 10 |
5 | 12ms | 262kb | OK | 10 |
6 | 14ms | 262kb | OK | 10 |
7 | 25ms | 262kb | OK | 10 |
8 | 29ms | 262kb | OK | 10 |
9 | 37ms | 262kb | OK | 10 |
10 | 79ms | 9175kb | OK | 10 |
Punctaj total | 100 |