Pagini recente » Borderou de evaluare (job #3285163) | Borderou de evaluare (job #2523462) | Borderou de evaluare (job #716551) | Borderou de evaluare (job #1996506) | Borderou de evaluare (job #1627627)
Borderou de evaluare (job #1627627)
Raport evaluator
Compilare:
user.cpp: In function ‘void inversBig(int)’:
user.cpp:82: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:164: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:177:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5005]’ [-Wformat=]
scanf("%s",&a);
^
user.cpp:178:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5005]’ [-Wformat=]
scanf("%s",&b);
^
user.cpp:175: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:176:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:177:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&a);
^
user.cpp:178: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 | 428kb | OK | 10 |
| 2 | 0ms | 424kb | OK | 10 |
| 3 | 0ms | 428kb | OK | 10 |
| 4 | 0ms | 412kb | OK | 10 |
| 5 | 0ms | 416kb | OK | 10 |
| 6 | 0ms | 416kb | OK | 10 |
| 7 | 0ms | 416kb | OK | 10 |
| 8 | 0ms | 420kb | OK | 10 |
| 9 | 0ms | 416kb | OK | 10 |
| 10 | 0ms | 416kb | OK | 10 |
| Punctaj total | 100 |