Pagini recente » Borderou de evaluare (job #2704232) | Borderou de evaluare (job #2767232) | Borderou de evaluare (job #730106) | Monitorul de evaluare | Borderou de evaluare (job #2287752)
Borderou de evaluare (job #2287752)
Raport evaluator
Compilare:
main.c: In function 'sortaret':
main.c:45:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d ", nod);
^
main.c:35:13: warning: unused variable 'k' [-Wunused-variable]
long i, j, k, nod;
^
main.c: In function 'main':
main.c:65:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d%d", &a, &b);
^
main.c:65:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
scanf("%d%d", &a, &b);
^
main.c:59:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.in", "r", stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:60:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.out", "w", stdout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:62:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld ", &n, &m);
^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:65:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^~~~~~~~~~~~~~~~~~~~~
main.c:73:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.in", "r", stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:75:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld ", &n, &m);
^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:77:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld ", &a, &b);
^~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 3ms | 131kb | OK | 10 |
| 4 | 5ms | 131kb | OK | 10 |
| 5 | 9ms | 262kb | OK | 10 |
| 6 | 16ms | 393kb | OK | 10 |
| 7 | 34ms | 786kb | OK | 10 |
| 8 | 51ms | 917kb | OK | 10 |
| 9 | 104ms | 1835kb | OK | 10 |
| 10 | 168ms | 2359kb | OK | 10 |
| Punctaj total | 100 |