Pagini recente » Borderou de evaluare (job #886515) | Borderou de evaluare (job #1429003) | Borderou de evaluare (job #2334649) | Borderou de evaluare (job #864831) | Borderou de evaluare (job #1429008)
Borderou de evaluare (job #1429008)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:29: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin,"%u%u",&n,&k1);
^
user.cpp:50:29: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:54:32: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin,"%u%u",&a,&b);
^
user.cpp:54:32: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:50:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%u%u",&n,&k1);
^
user.cpp:54:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%u%u",&a,&b);
^
user.cpp: In function ‘std::vector<short int>::iterator find_value(short int)’:
user.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 372kb | Incorect | 0 |
| 2 | 0ms | 376kb | OK | 5 |
| 3 | 0ms | 376kb | OK | 5 |
| 4 | 0ms | 380kb | Incorect | 0 |
| 5 | 0ms | 376kb | Incorect | 0 |
| 6 | 0ms | 384kb | Incorect | 0 |
| 7 | 0ms | 388kb | Incorect | 0 |
| 8 | 0ms | 404kb | OK | 5 |
| 9 | 0ms | 404kb | Incorect | 0 |
| 10 | 0ms | 404kb | Incorect | 0 |
| 11 | 0ms | 428kb | OK | 5 |
| 12 | 4ms | 428kb | Incorect | 0 |
| 13 | 4ms | 492kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 4ms | 488kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 4ms | 456kb | Incorect | 0 |
| 16 | 4ms | 492kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 12ms | 476kb | Incorect | 0 |
| 18 | 8ms | 508kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 20ms | 516kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 60ms | 612kb | Incorect | 0 |
| Punctaj total | 20 |