Pagini recente » Borderou de evaluare (job #2607374) | Borderou de evaluare (job #2017009) | Borderou de evaluare (job #2136560) | Borderou de evaluare (job #589704) | Borderou de evaluare (job #2205788)
Borderou de evaluare (job #2205788)
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 | 860kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 860kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 752kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 752kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 752kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 812kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 856kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 880kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |