Pagini recente » Borderou de evaluare (job #547955) | Borderou de evaluare (job #411298) | Borderou de evaluare (job #1591642) | Borderou de evaluare (job #2793620) | Borderou de evaluare (job #1870208)
Borderou de evaluare (job #1870208)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:12: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j;
^
user.cpp:18:6: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]
int s=a[1].a, d=a[1].b;
^
user.cpp: In function ‘int cmp(nod, nod)’:
user.cpp:9:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:13:35: 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:14:37: 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:15:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:16:50: 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", &a[i].a, &a[i].b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 10 |
2 | 0ms | 420kb | OK | 10 |
3 | 4ms | 504kb | OK | 10 |
4 | 12ms | 540kb | OK | 10 |
5 | 12ms | 544kb | OK | 10 |
6 | 8ms | 536kb | OK | 10 |
7 | 8ms | 540kb | OK | 10 |
8 | 8ms | 544kb | OK | 10 |
9 | 8ms | 544kb | OK | 10 |
10 | 12ms | 548kb | OK | 10 |
Punctaj total | 100 |