Pagini recente » Borderou de evaluare (job #263572) | Borderou de evaluare (job #350539) | Borderou de evaluare (job #2353894) | Borderou de evaluare (job #178072) | Borderou de evaluare (job #1462419)
Borderou de evaluare (job #1462419)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:85:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[260]’ [-Wformat=]
scanf("%s\n", &s1);
^
user.cpp:86:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[260]’ [-Wformat=]
scanf("%s\n", &s2);
^
user.cpp:73:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.in", "r", stdin);
^
user.cpp:74:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.out","w", stdout);
^
user.cpp:75:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:85:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &s1);
^
user.cpp:86:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &s2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | OK | 10 |
| 2 | 0ms | 248kb | OK | 10 |
| 3 | 0ms | 248kb | OK | 10 |
| 4 | 0ms | 252kb | Incorect | 0 |
| 5 | 12ms | 252kb | OK | 10 |
| 6 | 0ms | 260kb | OK | 10 |
| 7 | 0ms | 252kb | OK | 10 |
| 8 | 0ms | 248kb | OK | 10 |
| 9 | 0ms | 252kb | OK | 10 |
| 10 | 0ms | 252kb | OK | 10 |
| Punctaj total | 90 |