Pagini recente » Borderou de evaluare (job #1932490) | Borderou de evaluare (job #3194886) | Borderou de evaluare (job #2683888) | Borderou de evaluare (job #629127) | Borderou de evaluare (job #1720159)
Borderou de evaluare (job #1720159)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("examen.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("examen.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:47:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:38:49: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(v2[b]==0) {v2[b]=v[x+1]-v2[x];x=b;c++;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 52ms | 1440kb | OK | 10 |
3 | 56ms | 1440kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 0ms | 264kb | OK | 10 |
6 | 56ms | 1052kb | OK | 10 |
7 | 0ms | 276kb | OK | 10 |
8 | 0ms | 280kb | OK | 10 |
9 | 0ms | 284kb | OK | 10 |
10 | 36ms | 800kb | OK | 10 |
Punctaj total | 100 |