Pagini recente » Cod sursa (job #2937431) | Borderou de evaluare (job #1594592) | Borderou de evaluare (job #594305) | Borderou de evaluare (job #193638) | Borderou de evaluare (job #1541591)
Borderou de evaluare (job #1541591)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos[go] == id[go].size()) {
^
user.cpp:72:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", ans);
^
user.cpp:46:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in","r",stdin);
^
user.cpp:47:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.out","w",stdout);
^
user.cpp:49:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n%s", a + 1, b + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 424kb | OK | 10 |
3 | 0ms | 488kb | OK | 10 |
4 | 0ms | 480kb | OK | 10 |
5 | 0ms | 908kb | OK | 10 |
6 | 4ms | 1028kb | OK | 10 |
7 | 4ms | 1076kb | OK | 10 |
8 | Depăşit | 1028kb | Time limit exceeded. | 0 |
9 | 4ms | 1060kb | OK | 10 |
10 | 24ms | 1056kb | OK | 10 |
Punctaj total | 90 |