Pagini recente » Borderou de evaluare (job #2913218) | Borderou de evaluare (job #2450945) | Cod sursa (job #426366) | Monitorul de evaluare | Borderou de evaluare (job #1513537)
Borderou de evaluare (job #1513537)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.in","r",stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 284kb | OK | 10 |
| 3 | 0ms | 288kb | OK | 10 |
| 4 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 30 |