Pagini recente » Borderou de evaluare (job #2900280) | Borderou de evaluare (job #2276023) | Borderou de evaluare (job #512639) | Borderou de evaluare (job #737772) | Borderou de evaluare (job #1627604)
Borderou de evaluare (job #1627604)
Raport evaluator
Compilare:
user.cpp: In function ‘void inversBig(int)’:
user.cpp:77:43: warning: operation on ‘b[j]’ may be undefined [-Wsequence-point]
b[i] = b[i] + b[j] - (b[j] = b[i]);
^
user.cpp: In function ‘void inversSmall(int)’:
user.cpp:154:43: warning: operation on ‘b[j]’ may be undefined [-Wsequence-point]
b[i] = b[i] + b[j] - (b[j] = b[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:167:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5005]’ [-Wformat=]
scanf("%s",&a);
^
user.cpp:168:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5005]’ [-Wformat=]
scanf("%s",&b);
^
user.cpp:165:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vecini2.in","r",stdin);
^
user.cpp:166:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:167:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&a);
^
user.cpp:168:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK | 10 |
2 | 0ms | 424kb | OK | 10 |
3 | 0ms | 412kb | Incorect | 0 |
4 | 0ms | 408kb | OK | 10 |
5 | 0ms | 416kb | OK | 10 |
6 | 0ms | 408kb | OK | 10 |
7 | 0ms | 412kb | OK | 10 |
8 | 0ms | 412kb | OK | 10 |
9 | 0ms | 412kb | OK | 10 |
10 | 0ms | 412kb | OK | 10 |
Punctaj total | 90 |