Pagini recente » Borderou de evaluare (job #510253) | Borderou de evaluare (job #2194000) | Borderou de evaluare (job #968970) | Borderou de evaluare (job #606992) | Borderou de evaluare (job #1955684)
Borderou de evaluare (job #1955684)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:25: warning: unknown conversion type character 0x20 in format [-Wformat=]
scanf("%d % d", &m, &n);
^
user.cpp:13:25: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:40:50: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if ( F[i]%m == 0) printf("%ld %ld\n",i,F[i]/m);
^
user.cpp:40:50: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:39:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (F[i])
^
user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.in", "r", stdin);
^
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.out","w", stdout);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d % d", &m, &n);
^
user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp1.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 0ms | 264kb | Incorect | 0 |
6 | 0ms | 260kb | Incorect | 0 |
7 | 0ms | 264kb | Incorect | 0 |
8 | 0ms | 268kb | Incorect | 0 |
9 | 0ms | 264kb | Incorect | 0 |
10 | 0ms | 260kb | Incorect | 0 |
Punctaj total | 0 |