Borderou de evaluare (job #2588188)

Utilizator Tipy.exeTipy Executabil Tipy.exe Data 24 martie 2020 15:51:38
Problema Long Story Short Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:20: warning: unknown conversion type character 0x20 in format [-Wformat=] fscanf(fin, "%l %d ", &k, &p); ^ main.c:9:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] fscanf(fin, "%l %d ", &k, &p); ^ main.c:9:17: warning: too many arguments for format [-Wformat-extra-args] fscanf(fin, "%l %d ", &k, &p); ^~~~~~~~ main.c:13:20: warning: unknown conversion type character 0x20 in format [-Wformat=] fscanf(fin, "%l ", &x); ^ main.c:13:17: warning: too many arguments for format [-Wformat-extra-args] fscanf(fin, "%l ", &x); ^~~~~ main.c:17:24: warning: unknown conversion type character 0x20 in format [-Wformat=] fscanf(fin, "%l ", &y); ^ main.c:17:21: warning: too many arguments for format [-Wformat-extra-args] fscanf(fin, "%l ", &y); ^~~~~ main.c:34:21: warning: conversion lacks type at end of format [-Wformat=] fprintf(fout, "%l", sum); ^ main.c:34:19: warning: too many arguments for format [-Wformat-extra-args] fprintf(fout, "%l", sum); ^~~~ main.c:9:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%l %d ", &k, &p); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%l ", &x); ^~~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%l ", &y); ^~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1303ms131kbTime limit exceeded0
2300ms131kbTime limit exceeded0
3303ms131kbTime limit exceeded0
4303ms131kbTime limit exceeded0
5303ms131kbTime limit exceeded0
6300ms131kbTime limit exceeded0
7303ms131kbTime limit exceeded0
8300ms131kbTime limit exceeded0
9303ms131kbTime limit exceeded0
10300ms131kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?