Pagini recente » Cod sursa (job #2376854) | Borderou de evaluare (job #2752015) | Cod sursa (job #748368) | Borderou de evaluare (job #3228021) | Borderou de evaluare (job #2012331)
Borderou de evaluare (job #2012331)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[255]’ [-Wformat=]
scanf("%s\n", &a1);
^
user.cpp:17:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[255]’ [-Wformat=]
scanf("%s", &a2);
^
user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puzzle.in","r",stdin);
^
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puzzle.out","w",stdout);
^
user.cpp:16:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &a1);
^
user.cpp:17:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &a2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK! | 5 |
2 | 0ms | 264kb | OK! | 5 |
3 | 0ms | 260kb | OK! | 5 |
4 | 0ms | 256kb | OK! | 5 |
5 | 0ms | 260kb | OK! | 5 |
6 | 0ms | 256kb | OK! | 5 |
7 | 0ms | 260kb | OK! | 5 |
8 | 0ms | 264kb | OK! | 5 |
9 | 4ms | 260kb | OK! | 5 |
10 | 0ms | 260kb | OK! | 5 |
11 | 0ms | 264kb | OK! | 5 |
12 | 0ms | 260kb | OK! | 5 |
13 | 0ms | 264kb | OK! | 5 |
14 | 0ms | 260kb | OK! | 5 |
15 | 0ms | 260kb | OK! | 5 |
16 | 0ms | 260kb | OK! | 5 |
17 | 4ms | 260kb | OK! | 5 |
18 | 0ms | 260kb | OK! | 5 |
19 | 4ms | 260kb | OK! | 5 |
20 | 0ms | 264kb | OK! | 5 |
Punctaj total | 100 |