Pagini recente » Borderou de evaluare (job #341412) | Borderou de evaluare (job #1893122) | Borderou de evaluare (job #1610961) | Borderou de evaluare (job #61195) | Borderou de evaluare (job #2105474)
Borderou de evaluare (job #2105474)
Raport evaluator
Compilare:
user.cpp: In function ‘void CreateMat(int, int)’:
user.cpp:13:9: warning: unused variable ‘x’ [-Wunused-variable]
int x,y;
^
user.cpp:13:11: warning: unused variable ‘y’ [-Wunused-variable]
int x,y;
^
user.cpp: In function ‘void PrintSolution(int)’:
user.cpp:56:16: warning: statement has no effect [-Wunused-value]
for( nrelem; nrelem > 0 ; nrelem--)
^
user.cpp:57:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=]
printf("%d ",&subsir[nrelem]);
^
user.cpp: In function ‘void Preparation(int&, int&)’:
user.cpp:62:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.in","r",stdin);
^
user.cpp:63:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.out","w",stdout);
^
user.cpp:64:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n1,&n2);
^
user.cpp:66:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&sir1[i]);
^
user.cpp:68:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&sir2[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | Lungime incorecta! | 0 |
2 | 0ms | 320kb | Lungime incorecta! | 0 |
3 | 0ms | 344kb | Lungime incorecta! | 0 |
4 | 0ms | 1084kb | Lungime incorecta! | 0 |
5 | 0ms | 1304kb | Lungime incorecta! | 0 |
6 | 4ms | 2352kb | Lungime incorecta! | 0 |
7 | 8ms | 4296kb | Lungime incorecta! | 0 |
8 | 8ms | 3944kb | Lungime incorecta! | 0 |
9 | 8ms | 4324kb | Lungime incorecta! | 0 |
10 | 8ms | 3544kb | Lungime incorecta! | 0 |
Punctaj total | 0 |