Pagini recente » Borderou de evaluare (job #827693) | Borderou de evaluare (job #2673520) | Borderou de evaluare (job #666330) | Borderou de evaluare (job #3175898) | Borderou de evaluare (job #1254234)
Borderou de evaluare (job #1254234)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d%d", &n, &m);
^
user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:18:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d", &val);
^
user.cpp:23:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=]
fscanf(fin, "%d", &f);
^
user.cpp:26:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d%d", &pos, &val);
^
user.cpp:26:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:31:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d%d", &pos, &val);
^
user.cpp:31:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:12:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^
user.cpp:18:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &val);
^
user.cpp:23:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &f);
^
user.cpp:26:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &pos, &val);
^
user.cpp:31:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &pos, &val);
^
user.cpp: In function ‘long int interogare(int, int, int, int, int)’:
user.cpp:61:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 256kb | OK | 10 | 10 |
2 | 8ms | 268kb | OK | 10 | 10 |
3 | 12ms | 276kb | OK | 10 | 10 |
4 | 36ms | 320kb | OK | 10 | 10 |
5 | 4ms | 780kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 20ms | 936kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 32ms | 1016kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 12ms | 900kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 20ms | 980kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 28ms | 1012kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 40 |