Pagini recente » Borderou de evaluare (job #1548044) | Borderou de evaluare (job #351873) | Borderou de evaluare (job #1840459) | Borderou de evaluare (job #1502330) | Borderou de evaluare (job #1315460)
Borderou de evaluare (job #1315460)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:20: warning: variable ‘stmin’ set but not used [-Wunused-but-set-variable]
int n,nr=0,poz,stmin,drmax;
^
user.cpp:20:26: warning: variable ‘drmax’ set but not used [-Wunused-but-set-variable]
int n,nr=0,poz,stmin,drmax;
^
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("granita.in","r",stdin);
^
user.cpp:19:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("granita.out","w",stdout);
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:23:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&v[i].st,&v[i].dr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 4ms | 344kb | OK | 10 |
4 | 12ms | 388kb | OK | 10 |
5 | 12ms | 388kb | OK | 10 |
6 | 8ms | 384kb | OK | 10 |
7 | 8ms | 388kb | OK | 10 |
8 | 8ms | 388kb | OK | 10 |
9 | 8ms | 384kb | OK | 10 |
10 | 12ms | 392kb | OK | 10 |
Punctaj total | 100 |