Pagini recente » Borderou de evaluare (job #2360134) | Borderou de evaluare (job #572775) | Borderou de evaluare (job #2382122) | Borderou de evaluare (job #2380493) | Borderou de evaluare (job #1188242)
Borderou de evaluare (job #1188242)
Raport evaluator
Compilare:
user.cpp: In function ‘int inlocuire(int, int)’:
user.cpp:27:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:35:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.cpp:36:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &m);
^
user.cpp:41:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &a);
^
user.cpp:42:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &b);
^
user.cpp: In function ‘int inlocuire(int, int)’:
user.cpp:26:20: warning: ‘aux2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[aux2] = x;
^
user.cpp:25:20: warning: ‘aux1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[aux1] = y;
^
user.cpp: In function ‘int main()’:
user.cpp:26:20: warning: ‘aux2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[aux2] = x;
^
user.cpp:9:30: note: ‘aux2’ was declared here
int contor = 0, i, aux1, aux2;
^
user.cpp:25:20: warning: ‘aux1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[aux1] = y;
^
user.cpp:9:24: note: ‘aux1’ was declared here
int contor = 0, i, aux1, aux2;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | Incorect | 0 |
2 | 0ms | 248kb | Incorect | 0 |
3 | 24ms | 248kb | Incorect | 0 |
4 | 60ms | 256kb | Incorect | 0 |
5 | 124ms | 252kb | Incorect | 0 |
6 | 140ms | 256kb | Incorect | 0 |
7 | 244ms | 248kb | Incorect | 0 |
8 | 328ms | 252kb | Incorect | 0 |
9 | Depăşit | 232kb | Time limit exceeded. | 0 |
10 | Depăşit | 228kb | Time limit exceeded. | 0 |
Punctaj total | 0 |