Pagini recente » Cod sursa (job #1742705) | Cod sursa (job #2411458) | Cod sursa (job #368922) | Cod sursa (job #806107) | Borderou de evaluare (job #1570881)
Borderou de evaluare (job #1570881)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:23:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:23:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:20:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("int.in","r",stdin);
^
user.cpp:21:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("int.out","w",stdout);
^
user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:26:60: 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].a,&v[i].b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 52ms | 644kb | OK | 10 |
5 | 52ms | 644kb | OK | 10 |
6 | 0ms | 276kb | OK | 10 |
7 | 28ms | 492kb | OK | 10 |
8 | 44ms | 568kb | OK | 10 |
9 | 52ms | 640kb | OK | 10 |
10 | 52ms | 648kb | OK | 10 |
Punctaj total | 100 |