Pagini recente » Borderou de evaluare (job #1008670) | Borderou de evaluare (job #2221056) | Borderou de evaluare (job #2070265) | Borderou de evaluare (job #1799775) | Borderou de evaluare (job #2204150)
Borderou de evaluare (job #2204150)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
user.cpp:34:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
printf("%d",t);
^~~~~~
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nrtri.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nrtri.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:32:14: warning: ‘nr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
t=t+nr;
~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 936kb | Incorect | 0 |
2 | 0ms | 860kb | Incorect | 0 |
3 | 0ms | 752kb | Incorect | 0 |
4 | 0ms | 808kb | Incorect | 0 |
5 | 0ms | 864kb | Incorect | 0 |
6 | 0ms | 856kb | Incorect | 0 |
7 | 0ms | 800kb | Incorect | 0 |
8 | 0ms | 932kb | Incorect | 0 |
9 | 0ms | 860kb | Incorect | 0 |
10 | 0ms | 800kb | Incorect | 0 |
11 | 0ms | 816kb | Incorect | 0 |
12 | 0ms | 804kb | Incorect | 0 |
13 | 0ms | 796kb | Incorect | 0 |
14 | 0ms | 932kb | Incorect | 0 |
15 | 4ms | 816kb | Incorect | 0 |
16 | 4ms | 796kb | Incorect | 0 |
17 | 8ms | 816kb | Incorect | 0 |
18 | 8ms | 792kb | Incorect | 0 |
19 | 8ms | 752kb | Incorect | 0 |
20 | 8ms | 760kb | Incorect | 0 |
Punctaj total | 0 |