Pagini recente » Borderou de evaluare (job #1752526) | Borderou de evaluare (job #881596) | Borderou de evaluare (job #727737) | Borderou de evaluare (job #2183206) | Borderou de evaluare (job #1372697)
Borderou de evaluare (job #1372697)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<strlen(ms); j++){
^
user.cpp:32:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%d\n", poz+1);
^
user.cpp:14:12: warning: variable ‘l’ set but not used [-Wunused-but-set-variable]
int n, l;
^
user.cpp:23:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%c", &n, &c);
^
user.cpp:27:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s", ms);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 416kb | OK | 10 |
2 | 0ms | 416kb | OK | 10 |
3 | 0ms | 412kb | OK | 10 |
4 | 0ms | 412kb | OK | 10 |
5 | 0ms | 416kb | OK | 10 |
6 | 8ms | 420kb | OK | 10 |
7 | 24ms | 420kb | OK | 10 |
8 | 44ms | 420kb | OK | 10 |
9 | 88ms | 416kb | OK | 10 |
10 | 96ms | 416kb | Incorect | 0 |
Punctaj total | 90 |