Pagini recente » Borderou de evaluare (job #1398316) | Borderou de evaluare (job #2522531) | Borderou de evaluare (job #2154942) | Borderou de evaluare (job #3246651) | Borderou de evaluare (job #1412164)
Borderou de evaluare (job #1412164)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int sum(char*, int&)’:
user.cpp:25:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (pos < strlen(s) && s[pos] == '+')
^
user.cpp: In function ‘int main()’:
user.cpp:73:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mxl.in", "r", stdin);
^
user.cpp:74:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mxl.out", "w", stdout);
^
user.cpp:76:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:79:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %d %d", &i, &j);
^
user.cpp:80:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %s", a[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 460kb | OK | 10 |
| 2 | 0ms | 464kb | OK | 10 |
| 3 | 0ms | 468kb | OK | 10 |
| 4 | 0ms | 500kb | OK | 10 |
| 5 | 4ms | 560kb | OK | 10 |
| 6 | 4ms | 564kb | OK | 10 |
| 7 | 8ms | 624kb | OK | 10 |
| 8 | 8ms | 620kb | OK | 10 |
| 9 | 12ms | 672kb | OK | 10 |
| 10 | 36ms | 964kb | OK | 10 |
| Punctaj total | 100 |