Pagini recente » Borderou de evaluare (job #536166) | Borderou de evaluare (job #767973) | Borderou de evaluare (job #224933) | Borderou de evaluare (job #2017642) | Borderou de evaluare (job #1756051)
Borderou de evaluare (job #1756051)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:12: warning: unused variable ‘m’ [-Wunused-variable]
int n, m, i, j, s, t, d, c, pret, program, maxi;
^
user.cpp:22:24: warning: unused variable ‘t’ [-Wunused-variable]
int n, m, i, j, s, t, d, c, pret, program, maxi;
^
user.cpp:22:27: warning: unused variable ‘d’ [-Wunused-variable]
int n, m, i, j, s, t, d, c, pret, program, maxi;
^
user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carnati.in","r",stdin);
^
user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carnati.out","w",stdout);
^
user.cpp:25:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&c);
^
user.cpp:26:70: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= n; ++i ) scanf("%d%d",&v[ i ].timp,&v[ i ].pret);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 436kb | OK | 10 |
| 2 | 0ms | 436kb | OK | 10 |
| 3 | 0ms | 444kb | OK | 10 |
| 4 | 0ms | 444kb | OK | 10 |
| 5 | 8ms | 444kb | OK | 10 |
| 6 | 8ms | 444kb | OK | 10 |
| 7 | 8ms | 440kb | OK | 10 |
| 8 | 28ms | 448kb | OK | 10 |
| 9 | 28ms | 452kb | OK | 10 |
| 10 | 28ms | 444kb | OK | 10 |
| Punctaj total | 100 |