Pagini recente » Cod sursa (job #3143301) | Borderou de evaluare (job #2293143) | Borderou de evaluare (job #2172457) | Borderou de evaluare (job #2819069) | Borderou de evaluare (job #2073981)
Borderou de evaluare (job #2073981)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:17:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d %d",&n,&m);
^
user.cpp:17:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void prim(int)’:
user.cpp:30:13: warning: unused variable ‘j’ [-Wunused-variable]
long long i,j,k,mn,p;
^
user.cpp: In function ‘int main()’:
user.cpp:63:8: warning: unused variable ‘j’ [-Wunused-variable]
{int i,j;
^
user.cpp: In function ‘void citire()’:
user.cpp:17:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&m);
^
user.cpp:22:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{fscanf(f,"%d %d %d",&i,&j,&cost);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 324kb | Corect | 10 |
| 2 | 0ms | 340kb | Corect | 10 |
| 3 | 0ms | 1036kb | Cost incorect | 0 |
| 4 | 0ms | 1384kb | Cost incorect | 0 |
| 5 | 0ms | 1052kb | Cost incorect | 0 |
| 6 | 52ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 52ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 52ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 52ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 20 |